﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.register-page {
    min-height: 100vh;
    background-image: url('https://enthrallinggumption.com/wp-content/uploads/2024/10/dark-bedroom.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

    .register-page::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1;
    }

.register-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.register-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

    .register-header h1 {
        color: #fff;
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .register-header p {
        color: rgba(255, 255, 255, 0.8);
        font-size: 1rem;
    }

.form-group-modern {
    margin-bottom: 1.5rem;
}

    .form-group-modern label {
        display: block;
        color: #fff;
        font-weight: 500;
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }

.form-input-modern {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .form-input-modern::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

    .form-input-modern:focus {
        outline: none;
        border-color: #d4a574;
        background: rgba(255, 255, 255, 0.15);
        box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
    }

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

    .password-toggle:hover {
        color: #d4a574;
    }

.text-danger {
    color: #ff6b6b !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.btn-register {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #d4a574 0%, #b8935f 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

    .btn-register:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(212, 165, 116, 0.4);
    }

.register-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

    .register-footer p {
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 0;
    }

    .register-footer a {
        color: #d4a574;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s ease;
    }

        .register-footer a:hover {
            color: #e6b886;
            text-decoration: underline;
        }

.validation-summary {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

    .validation-summary ul {
        margin: 0;
        padding-left: 1.5rem;
        color: #ff6b6b;
    }

    .validation-summary li {
        margin-bottom: 0.25rem;
    }

@@media (max-width: 576px) {
    .register-card {
        padding: 2rem 1.5rem;
    }

    .register-header h1 {
        font-size: 2rem;
    }
}
