/* Register Page Specific Styles */

.register-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 520px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 45px 40px;
    box-shadow: 0 20px 50px rgba(87, 155, 175, 0.25);
    margin: 20px auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeIn 0.8s ease-out;
    transition: transform 0.3s ease;
    overflow: visible;
    flex-shrink: 0;
}

.register-container:hover {
    transform: translateY(-5px);
}

/* Header */
.register-header {
    text-align: center;
    margin-bottom: 35px;
}

.register-header h1 {
    font-size: 1.9rem;
    color: #2d3748;
    margin-bottom: 10px;
    font-weight: 600;
}

.register-header p {
    color: #718096;
    font-size: 0.95rem;
    max-width: 300px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Form Rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row .form-group {
    margin-bottom: 0;
}

/* Password Strength Hint */
.password-hint {
    display: block;
    font-size: 0.8rem;
    color: #a0aec0;
    margin-top: 8px;
    font-weight: 400;
}

/* Checkbox Group */
.checkbox-group {
    margin-bottom: 28px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-label input {
    display: none;
}

.custom-checkbox {
    width: 22px;
    min-width: 22px;
    height: 22px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    background: white;
}

.checkbox-label input:checked + .custom-checkbox {
    background-color: #579baf;
    border-color: #579baf;
}

.checkbox-label input:focus + .custom-checkbox {
    box-shadow: 0 0 0 3px rgba(87, 155, 175, 0.2);
}

.checkbox-label .link {
    color: #579baf;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.checkbox-label .link:hover {
    color: #78adba;
    text-decoration: underline;
}

/* Register Button */
.register-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #579baf, #78adba);
    color: white;
    border: none;
    border-radius: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(87, 155, 175, 0.3);
    letter-spacing: 0.5px;
}

.register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(87, 155, 175, 0.4);
    background: linear-gradient(135deg, #78adba, #85b9cd);
}

.register-btn:active {
    transform: translateY(0);
}

/* Sign In Link */
.signin-link {
    text-align: center;
    color: #718096;
    font-size: 0.95rem;
}

.signin-link a {
    color: #579baf;
    text-decoration: none;
    font-weight: 600;
    margin-left: 6px;
    transition: color 0.2s ease;
    position: relative;
}

.signin-link a:hover {
    color: #78adba;
    text-decoration: underline;
}

/* Responsive Design - Tablet */
@media (max-width: 768px) {
    .register-container {
        max-width: 90%;
        padding: 40px 30px;
        margin: 20px auto;
    }

    .register-header h1 {
        font-size: 1.7rem;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .form-input {
        font-size: 1rem;
        padding: 15px 15px 15px 48px;
    }

    .register-btn {
        padding: 16px;
        font-size: 1rem;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 600px) {
    .register-container {
        max-width: 95%;
        padding: 30px 20px;
        margin: 15px auto;
        border-radius: 20px;
    }

    .register-header {
        margin-bottom: 25px;
    }

    .register-header h1 {
        font-size: 1.6rem;
    }

    .register-header p {
        font-size: 0.9rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-label {
        font-size: 0.9rem;
    }

    .form-input {
        font-size: 1rem;
        padding: 14px 14px 14px 45px;
    }

    .input-icon {
        font-size: 1.1rem;
    }

    .password-toggle {
        font-size: 1.1rem;
    }

    .password-hint {
        font-size: 0.75rem;
    }

    .register-btn {
        padding: 15px;
        font-size: 0.95rem;
    }

    .checkbox-label {
        font-size: 0.85rem;
        gap: 10px;
    }

    .custom-checkbox {
        width: 20px;
        min-width: 20px;
        height: 20px;
    }

    .inner-waves {
        top: -50px;
        height: 100px;
        width: 240%;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .register-container {
        max-width: 100%;
        padding: 25px 16px;
        margin: 15px;
        border-radius: 16px;
    }

    .register-header h1 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .register-header p {
        font-size: 0.85rem;
    }

    .register-header {
        margin-bottom: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-label {
        font-size: 0.85rem;
        margin-bottom: 7px;
    }

    .form-input {
        font-size: 16px;
        padding: 13px 13px 13px 42px;
        border-radius: 12px;
    }

    .input-icon {
        font-size: 1rem;
        left: 14px;
    }

    .password-toggle {
        right: 14px;
        font-size: 1rem;
    }

    .password-hint {
        font-size: 0.7rem;
        margin-top: 6px;
    }

    .checkbox-label {
        font-size: 0.8rem;
        gap: 9px;
    }

    .custom-checkbox {
        width: 18px;
        min-width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }

    .checkbox-label .link {
        font-size: 0.75rem;
    }

    .register-btn {
        padding: 14px;
        font-size: 0.9rem;
        gap: 8px;
        margin-bottom: 18px;
    }

    .divider {
        margin: 20px 0;
    }

    .divider span {
        font-size: 0.8rem;
        padding: 0 10px;
    }

    .social-login {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 18px;
    }

    .social-btn {
        padding: 13px;
        font-size: 1.1rem;
    }

    .signin-link {
        font-size: 0.85rem;
    }

    .signin-link a {
        margin-left: 3px;
    }

    .logo {
        gap: 8px;
        margin-bottom: 12px;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .logo-text {
        font-size: 1.6rem;
    }

    .inner-waves {
        top: -40px;
        height: 80px;
        width: 280%;
    }
}
