/* Signup page specific styles */
.signup-page {
    background: linear-gradient(135deg, #014AB2 0%, #0066CC 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.signup-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 30px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    backdrop-filter: blur(10px);
}

/* Horizontal layout for desktop */
@media (min-width: 992px) {
    .signup-container {
        max-width: 900px;
        padding: 35px 40px;
    }
    
    .signup-form-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        align-items: start;
    }
    
    .signup-header {
        grid-column: 1 / -1;
        margin-bottom: 20px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .signup-form-wrapper .form-group:last-of-type {
        margin-bottom: 0;
    }
    
    .terms-checkbox {
        grid-column: 1 / -1;
        margin-bottom: 15px;
    }
    
    .signup-btn {
        grid-column: 1 / -1;
        margin-bottom: 15px;
    }
    
    .login-link {
        grid-column: 1 / -1;
        margin-top: 15px;
        padding-top: 15px;
    }
}

.signup-header {
    text-align: center;
    margin-bottom: 25px;
}

.signup-header .logo {
    max-width: 120px;
    margin-bottom: 12px;
}

.signup-header h2 {
    color: #014AB2;
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 1.75rem;
}

.signup-header p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.signup-input {
    color: #014AB2 !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid rgba(1, 74, 178, 0.2) !important;
    border-radius: 15px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    font-family: "Roboto", sans-serif;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
    height: 50px;
}

.form-group {
    margin-bottom: 12px;
}

.signup-input:focus {
    background-color: #ffffff !important;
    border-color: #FFFC00 !important;
    color: #014AB2 !important;
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 252, 0, 0.3);
}

.signup-input::placeholder {
    color: #999 !important;
    font-weight: 400;
    font-size: 16px;
    font-family: "Roboto", sans-serif;
}

.signup-btn {
    background: linear-gradient(135deg, #FEE16D 0%, #FFFC00 100%) !important;
    color: #014AB2 !important;
    border: none;
    border-radius: 25px;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 700;
    font-family: "Roboto", sans-serif;
    transition: all 0.3s ease;
    width: 100%;
    height: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.signup-btn:hover {
    background: linear-gradient(135deg, #FFFC00 0%, #FEE16D 100%) !important;
    color: #014AB2 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 252, 0, 0.4);
}

.signup-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 252, 0, 0.3);
}

.signup-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
}

.terms-checkbox input[type="checkbox"] {
    margin-top: 3px;
    transform: scale(1.2);
    accent-color: #014AB2;
    flex-shrink: 0;
}

.terms-checkbox label {
    color: #666;
    font-weight: 500;
    cursor: pointer;
    line-height: 1.4;
}

.terms-checkbox label a {
    color: #014AB2;
    text-decoration: none;
    font-weight: 600;
}

.terms-checkbox label a:hover {
    color: #FFFC00;
    text-decoration: underline;
}

.login-link {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(1, 74, 178, 0.1);
}

.login-link p {
    color: #666;
    margin-bottom: 15px;
}

.login-link a {
    color: #014AB2;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 30px;
    border: 2px solid #014AB2;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
}

.login-link a:hover {
    background: #014AB2;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(1, 74, 178, 0.3);
}

.social-signup {
    margin: 30px 0;
    text-align: center;
}

.social-signup p {
    color: #666;
    margin-bottom: 20px;
    position: relative;
}

.social-signup p::before,
.social-signup p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(1, 74, 178, 0.2);
}

.social-signup p::before {
    left: 0;
}

.social-signup p::after {
    right: 0;
}

.social-btn {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
}

.social-btn.google {
    background: #db4437;
    color: white;
}

.social-btn.facebook {
    background: #3b5998;
    color: white;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-home {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.back-home:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.password-strength {
    margin-bottom: 10px;
    font-size: 14px;
}

.strength-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}

.strength-fill {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-weak {
    background: #ff4444;
    width: 25%;
}

.strength-fair {
    background: #ffaa00;
    width: 50%;
}

.strength-good {
    background: #00aa00;
    width: 75%;
}

.strength-strong {
    background: #008800;
    width: 100%;
}

/* Responsive design */
@media (max-width: 768px) {
    .signup-container {
        padding: 30px 20px;
        margin: 20px;
    }

    .signup-header h2 {
        font-size: 1.5rem;
    }

    .signup-btn {
        padding: 16px 30px;
        font-size: 16px;
    }
}