* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 15% 15%, rgba(41,168,114,0.18), transparent 400px), radial-gradient(circle at 85% 75%, rgba(41,168,114,0.12), transparent 450px), linear-gradient(145deg, #050A12, #0A0F1A, #111827);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: white;
    padding: 24px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.register-page {
    width: min(760px, 100%);
    display: flex;
    justify-content: center;
}

.register-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.register-card {
    padding: 40px;
    text-align: center;
    width: 100%;
}

.auth-brand {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 8px;
    color: #fff;
}

.auth-brand span {
    color: #29A872;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.subtitle {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 35px;
    line-height: 1.5;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
    text-align: left;
}

.form-group {
    position: relative;
}

input,
select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 16px;
    border-radius: 12px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

select option {
    background: #0A0F1A;
    color: white;
}

input:focus,
select:focus {
    border-color: #29A872;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(41, 168, 114, 0.15);
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 14px;
    pointer-events: none;
    transition: all 0.3s;
}

input:focus ~ label,
input:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: #6ED4A7;
    background: #14213a;
    padding: 0 6px;
    border-radius: 4px;
}

.btn-create {
    width: 100%;
    max-width: 300px;
    background: linear-gradient(135deg, #29A872, #6ED4A7);
    color: #0f1c32;
    padding: 16px;
    border-radius: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-create:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(41, 168, 114, 0.4);
}

.text-danger {
    color: #f87171;
    font-size: 13px;
    margin-bottom: 20px;
    list-style: none;
}

.links {
    margin-top: 30px;
    font-size: 14px;
    color: #94a3b8;
}

.links a {
    color: #6ED4A7;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .register-card {
        padding: 30px 20px;
    }
}

.form-full {
    grid-column: 1 / -1;
}

.password-rules {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rule {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    transition: all 0.2s;
}

.rule.rule-ok {
    background: rgba(41, 168, 114, 0.15);
    border-color: rgba(41, 168, 114, 0.4);
    color: #6ED4A7;
}
