body {
    margin: 0;
    padding: 0;
    background: #0a0e1a;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

canvas#starryCanvas {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.register-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1;
}

.register-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.8s ease-out;
}

.btn-register {
    background: linear-gradient(135deg, #0d6efd, #0056b3);
    border: none;
    border-radius: 15px;
    padding: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    width: 100%;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-register::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-register:hover::before {
    left: 100%;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.4);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h1 {
    color: #fff;
    font-weight: 700;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #0d6efd, #dc3545);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(13, 110, 253, 0.3);
}

.form-floating {
    margin-bottom: 20px;
    position: relative;
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: #fff;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #0d6efd;
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.3);
    color: #fff;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-floating label {
    color: rgba(255, 255, 255, 0.7);
}

.password-strength {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 5px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-weak { background: #dc3545; width: 25%; }
.strength-medium { background: #ffc107; width: 50%; }
.strength-good { background: #fd7e14; width: 75%; }
.strength-strong { background: #20c997; width: 100%; }

.validation-message.strength-weak { color: #dc3545; }
.validation-message.strength-medium { color: #ffc107; }
.validation-message.strength-good { color: #fd7e14; }
.validation-message.strength-strong { color: #20c997; }

.message-container {
    margin-bottom: 20px;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    animation: slideDown 0.5s ease-out;
    z-index: 10;
}

.message-container.d-none {
    display: none;
}

.success {
    background: rgba(32, 201, 151, 0.2);
    border: 1px solid rgba(32, 201, 151, 0.3);
    color: #20c997;
}

.error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}
.login-link a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-link a:hover {
    color: #0056b3;
    text-shadow: 0 0 10px rgba(13, 110, 253, 0.5);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.8s ease-out;
}

.btn-login {
    background: linear-gradient(135deg, #0d6efd, #0056b3);
    border: none;
    border-radius: 15px;
    padding: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    width: 100%;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-login::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-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.4);
}

.register-link {
    text-align: center;
    margin-top: 20px;
}

.register-link a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: #0056b3;
    text-shadow: 0 0 10px rgba(13, 110, 253, 0.5);
}

.text-light {
    color: rgba(255, 255, 255, 0.8) !important;
}