/* Modern CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Global Styling */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(120deg, #f5f5f5 0%, #e9e9e9 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23CCCCCC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

/* Login Container */
.login-container {
    width: 100%;
    max-width: 1200px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    margin: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    padding: 50px 20px;
    background: #2c2c2c;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.welcome-section h1 {
    color: white;
    font-weight: 500;
    margin-bottom: 15px;
}

.welcome-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.brand-logo {
    margin-bottom: 30px;
}

.main-logo {
    max-width: 200px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: block;
}


/* Login Options */
.login-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 40px;
    background-color: #f9f9f9;
}

.login-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    border-radius: 6px;
    padding: 30px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.login-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #444;
}

.option-logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f8f9fa;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.login-option:hover .option-logo {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.option-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.option-name {
    font-weight: 500;
    font-size: 18px;
    text-align: center;
}

/* Customer vs User Login Styling */
.customer-login {
    border: 2px solid #555;
    background: white;
}

.user-login {
    border: 2px solid #888;
    background: white;
}

/* Footer */
.login-footer {
    text-align: center;
    padding: 20px;
    background: #2c2c2c;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.login-footer p {
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-options {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .welcome-section {
        padding: 30px 15px;
    }
    
    .welcome-section h1 {
        font-size: 26px;
    }
    
    .login-container {
        margin: 15px;
    }
}

