/*
-------------------------------------------------
  Enhanced Login Page Styles
  Modern design with improved colors and UX
-------------------------------------------------*/

/* Enhanced Sign Up Page Styles */
.sign-up-page {
    overflow-x: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.sign-up-page .row .col-md-5,
.sign-up-page .row .col-md-7 {
    padding: 0;
}

/* Left Content with Modern Gradient */
.sign-up-left-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 30px 60px;
    position: relative;
    overflow: hidden;
}

/* Add subtle pattern overlay */
.sign-up-left-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.1) 2px, transparent 2px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    pointer-events: none;
}

.sign-up-bottom-img {
    margin-top: 80px;
    text-align: center;
}

.sign-up-bottom-img img {
    height: auto;
    width: 100%;
    max-width: 450px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
}

.sign-up-left-content,
.sign-up-right-content {
    min-height: 100vh;
    height: 100%;
}

/* Right Content with Modern Card Design */
.sign-up-right-content {
    align-items: center;
    display: flex;
    background: #f8fafc;
    position: relative;
}

.sign-up-right-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    pointer-events: none;
}

.sign-up-right-content form {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

/* Welcome Text Styling */
.sign-up-left-content p {
    font-size: 28px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 60px;
    padding-right: 40px;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Form Elements Enhancement */
.sign-up-right-content .form-group {
    margin-bottom: 25px;
}

.sign-up-right-content .form-control {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.sign-up-right-content .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
    outline: none;
}

/* Enhanced Button Styles */
.sign-up-right-content .theme-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.sign-up-right-content .theme-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* Password Toggle Icon */
.sign-up-right-content .pass-icon {
    font-size: 16px;
    color: #64748b;
    cursor: pointer;
    transition: color 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
    position: absolute;
}

.sign-up-right-content .pass-icon:hover {
    color: #667eea;
}

/* Social Login Buttons Enhancement */
.google-login, .facebook-login, .twitter-login {
    border-radius: 12px !important;
    padding: 12px 20px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    margin-bottom: 10px !important;
    border: 2px solid transparent !important;
}

.google-login {
    background-color: white !important;
    border-color: #e2e8f0 !important;
    color: #374151 !important;
}

.google-login:hover {
    background-color: #4285f4 !important;
    color: white !important;
    border-color: #4285f4 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3) !important;
}

.facebook-login {
    background-color: white !important;
    border-color: #e2e8f0 !important;
    color: #374151 !important;
}

.facebook-login:hover {
    background-color: #1877f2 !important;
    color: white !important;
    border-color: #1877f2 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3) !important;
}

.twitter-login {
    background-color: white !important;
    border-color: #e2e8f0 !important;
    color: #374151 !important;
}

.twitter-login:hover {
    background-color: #1da1f2 !important;
    color: white !important;
    border-color: #1da1f2 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.3) !important;
}

/* Login Info Table Enhancement */
.login-info {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 12px 16px !important;
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    font-size: 14px;
    color: #374151;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-info:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-1px);
}

.login-info b {
    color: #667eea;
    font-weight: 600;
}

/* Form Labels */
.sign-up-right-content label {
    color: #374151;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

/* Links */
.sign-up-right-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.sign-up-right-content a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sign-up-left-content {
        padding: 20px 30px;
        min-height: 40vh;
    }
    
    .sign-up-left-content p {
        font-size: 22px;
        margin-top: 30px;
        padding-right: 20px;
    }
    
    .sign-up-bottom-img {
        margin-top: 40px;
    }
    
    .sign-up-right-content form {
        margin: 20px;
        padding: 30px 25px;
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .sign-up-left-content p {
        font-size: 20px;
        margin-top: 20px;
        padding-right: 10px;
    }
    
    .sign-up-right-content form {
        margin: 15px;
        padding: 25px 20px;
    }
}

/* Animation for form appearance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sign-up-right-content form {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading state for buttons */
.theme-btn.loading {
    position: relative;
    color: transparent;
}

.theme-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}