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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0f0f0f;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #fff;
}

.container {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    width: 100%;
    max-width: 400px;
    padding: 40px;
    border: 2px solid #ff8c00;
}

.logo-section {
    text-align: center;
    margin-bottom: 20px;
}

.logo-section img {
    max-width: 150px;
    margin-bottom: 10px;
}

.logo-section h1 {
    color: #ff8c00;
    font-size: 24px;
    margin-bottom: 10px;
}

.logo-section p {
    color: #a5a5a5;
    font-size: 14px;
}

h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
    font-size: 22px;
}

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

label {
    display: block;
    margin-bottom: 8px;
    color: #a5a5a5;
    font-weight: 500;
    font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #404040;
    border-radius: 100px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #2d2d2d;
    color: #fff;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 5px rgba(255, 140, 0, 0.3);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
input[type="tel"]::placeholder {
    color: #666;
}

.error-message {
    color: #ff6b6b;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
    color: #a5a5a5;
}

.remember-me input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
    accent-color: #ff8c00;
}

.btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #EC1D2A 0%, #a00008 100%);
    color: white;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(236, 29, 42, 0.4);
}

.register-link,
.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #a5a5a5;
}

.register-link a,
.login-link a {
    color: #ff8c00;
    text-decoration: none;
    font-weight: 600;
}

.register-link a:hover,
.login-link a:hover {
    text-decoration: underline;
}

.alert {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-danger {
    background-color: #3a1f1f;
    color: #ff9999;
    border: 1px solid #5a3f3f;
}

.alert-success {
    background-color: #1f3a1f;
    color: #99f1b3;
    border: 1px solid #3a5a3a;
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #404040;
}

.divider span {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 0 10px;
    position: relative;
    color: #666;
    font-size: 13px;
}

.btn-secondary {
    background: #404040;
    color: #fff;
    margin-top: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: #505050;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-row .form-group {
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}