/* Login Container */
.login-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Modern Login Card */
.modern-login-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    overflow: hidden;
    max-width: 420px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    position: relative;
}

.modern-login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #f7931e, #ff6b35);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Login Header */
.login-header {
    padding: 3rem 2rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(255,107,53,0.05) 0%, rgba(247,147,30,0.05) 100%);
}

.login-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(255,107,53,0.3);
}

.login-icon i {
    font-size: 2.5rem;
    color: white;
}

.login-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.login-subtitle {
    color: #6c757d;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    opacity: 0.8;
}

/* Login Body */
.login-body {
    padding: 2rem;
    text-align: center;
}

/* Welcome Message */
.welcome-message {
    margin-bottom: 2rem;
}

.welcome-text {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

/* Login Button Container */
.login-button-container {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Modern Social Login Buttons */
.btn-facebook-modern,
.btn-google-modern {
    border: none;
    border-radius: 16px;
    padding: 0;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    color: white;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
}

.btn-facebook-modern {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.2);
}

.btn-google-modern {
    background: linear-gradient(135deg, #4285f4 0%, #3367d6 100%);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.2);
}

.btn-facebook-modern::before,
.btn-google-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-facebook-modern:hover::before,
.btn-google-modern:hover::before {
    left: 100%;
}

.btn-facebook-modern:hover {
    background: linear-gradient(135deg, #166fe5 0%, #1464d6 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(24, 119, 242, 0.4);
    color: white;
    text-decoration: none;
}

.btn-google-modern:hover {
    background: linear-gradient(135deg, #3367d6 0%, #2c5aa0 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(66, 133, 244, 0.4);
    color: white;
    text-decoration: none;
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 30px;
    position: relative;
    z-index: 1;
}

.btn-content i {
    font-size: 1.3rem;
    margin-right: 12px;
}

.btn-content span {
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Modern Divider */
.modern-divider {
    position: relative;
    text-align: center;
    margin: 2.5rem 0;
}

.modern-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #dee2e6, transparent);
}

.divider-text {
    background: white;
    padding: 0 1.5rem;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Quick Links */
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,107,53,0.05), transparent);
    transition: left 0.5s;
}

.link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: rgba(255,107,53,0.2);
}

.link-card:hover::before {
    left: 100%;
}

.link-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255,107,53,0.2);
}

.link-icon i {
    font-size: 1.2rem;
    color: white;
}

.link-content {
    flex: 1;
    text-align: left;
}

.link-label {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0 0 0.25rem 0;
    font-weight: 400;
}

.link-action {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.link-action:hover {
    color: #f7931e;
    text-decoration: none;
}

/* Login Card Styles for Merchant Pages */
.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    overflow: hidden;
    backdrop-filter: blur(10px);
    position: relative;
}

.login-card .login-header {
    padding: 3rem 2rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
}

.login-card .login-body {
    padding: 2rem;
}

/* Divider styles for merchant pages */
.login-card .divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.login-card .divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #dee2e6, transparent);
}

.login-card .divider span {
    background: white;
    padding: 0 1rem;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .login-container {
        padding: 1rem 0;
        min-height: calc(100vh - 150px);
    }
    
    .modern-login-card {
        margin: 1rem;
        max-width: none;
    }
    
    .login-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .login-icon {
        width: 70px;
        height: 70px;
    }
    
    .login-icon i {
        font-size: 2rem;
    }
    
    .login-title {
        font-size: 1.5rem;
    }
    
    .login-body {
        padding: 1.5rem;
    }
    
    .btn-content {
        padding: 16px 24px;
    }
    
    .link-card {
        padding: 1.25rem;
    }
    
    .link-icon {
        width: 44px;
        height: 44px;
        margin-right: 0.75rem;
    }
    
    .link-icon i {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .login-header {
        padding: 1.5rem 1rem;
    }
    
    .login-body {
        padding: 1rem;
    }
    
    .login-icon {
        width: 60px;
        height: 60px;
    }
    
    .login-icon i {
        font-size: 1.8rem;
    }
    
    .login-title {
        font-size: 1.3rem;
    }
    
    .btn-content {
        padding: 14px 20px;
    }
    
    .link-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .link-icon {
        margin-right: 0;
        margin-bottom: 0.75rem;
    }
    
    .link-content {
        text-align: center;
    }
    
    /* Mobile styles for login-card */
    .login-card .login-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .login-card .login-body {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .login-card .login-header {
        padding: 1.5rem 1rem;
    }
    
    .login-card .login-body {
        padding: 1rem;
    }
}