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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    background-color: #0a0a0a;
    min-height: 100vh;
    display: flex;
    color: #e0e0e0;
}

.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.auth-logo {
    margin-bottom: 40px;
}

.auth-logo img {
    width: 200px;
    height: auto;
    object-fit: contain;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 16px;
    text-align: left;
}

.input-wrapper {
    position: relative;
}

.input-wrapper label {
    position: absolute;
    left: 20px;
    top: -9px;
    background: #0a0a0a;
    padding: 0 6px;
    font-size: 12px;
    color: #888;
    z-index: 1;
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #333;
    border-radius: 100px;
    background-color: #0a0a0a;
    color: #fff;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #367FDF;
    box-shadow: 0 0 0 1px #367FDF;
}

.form-group input::placeholder {
    color: #555;
}

.remember-me {
    margin-bottom: 18px;
    text-align: left;
    padding-left: 8px;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    gap: 8px;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 16px;
    height: 16px;
    border: 1.5px solid #444;
    border-radius: 4px;
    background-color: transparent;
    position: relative;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.checkbox-label:hover .checkbox-custom {
    border-color: #777;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background-color: #367FDF;
    border-color: #367FDF;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 4.5px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: 13px;
    color: #777;
}

.error-message {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ef4444;
    padding: 12px 20px;
    border-radius: 100px;
    margin-bottom: 16px;
    font-size: 14px;
    display: none;
    text-align: left;
}

.error-message.show {
    display: block;
}

.auth-button {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 100px;
    background-color: #fff;
    color: #0a0a0a;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.auth-button:hover {
    opacity: 0.85;
}

.auth-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .auth-card {
        max-width: 100%;
    }

    .auth-logo img {
        width: 160px;
    }
}
