body {
    margin: 0;
    font-family: Roboto, sans-serif;
    background-color: #f3f4f6;
    color: #2d3748;
    -webkit-font-smoothing: antialiased;
}

.kh-auth-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    box-sizing: border-box;
}

.kh-auth-card {
    background-color: #ffffff;
    width: 100%;
    max-width: 600px;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    text-align: center;
}

.kh-auth-title {
    margin-bottom: 8px;
    color: #2d3748;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.kh-auth-subtitle {
    margin-top: 0;
    margin-bottom: 32px;
    color: #718096;
    font-size: 14px;
}

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

.kh-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
}

.kh-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.kh-form-input {
    width: 100%;
    padding: 12px 16px;
    padding-right: 40px; 
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    color: #2d3748;
    background-color: #fff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.kh-form-input:focus {
    border-color: #ff9f43;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 159, 67, 0.15);
}

.kh-password-toggle {
    position: absolute;
    right: 12px;
    cursor: pointer;
    color: #a0aec0;
    user-select: none;
    display: flex;
    align-items: center;
    padding: 5px;
}

.kh-password-toggle:hover {
    color: #2d3748;
}

.kh-password-toggle svg {
    width: 20px;
    height: 20px;
}

.kh-btn-submit {
    width: 100%;
    padding: 14px;
    background-color: #ff9f43;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s ease, background-color 0.2s;
    margin-top: 10px;
}

.kh-btn-submit:hover {
    background-color: #e68a2e;
}

.kh-btn-submit:active {
    transform: scale(0.98);
}

.kh-btn-submit:disabled {
    cursor: not-allowed;
    background-color: #cbd5e0;
    transform: none;
}

.kh-btn-submit:disabled:hover {
    background-color: #cbd5e0;
}

.kh-error-message {
    color: #e53e3e;
    font-size: 12px;
    margin-top: 4px;
}

.kh-remember-me {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #2d3748;
    margin-bottom: 24px;
    justify-content: space-between;
}

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

.kh-checkbox-wrapper input {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #ff9f43;
}

.kh-auth-footer {
    margin-top: 32px;
    font-size: 14px;
    color: #718096;
    border-top: 1px solid #edf2f7;
    padding-top: 24px;
}

.kh-link {
    color: #ff9f43;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.kh-link:hover {
    opacity: 0.8;
}

.kh-forgot-link {
    color: #718096;
    font-size: 13px;
    text-decoration: none;
}

.kh-forgot-link:hover {
    text-decoration: underline;
    color: #ff9f43;
}

@media (max-width: 480px) {
    .kh-auth-card {
        padding: 30px 20px;
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }
    
    .kh-auth-title {
        font-size: 22px;
    }
}