/* Input Management Styles (History Dropdown & Autofill) */

.login-input-dropdown {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    inset-inline-end: 1rem !important;
    z-index: 1060;
    width: 24px !important;
    height: 24px !important;
}

.login-input-icon {
    color: #757575;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: color 0.3s ease;
}

.login-input-icon:hover {
    color: var(--dashboard-theme-color, #4CAF50);
}

.login-input-icon i {
    font-size: 1.2rem;
}

.login-input-icon.dropdown-toggle::after {
    display: none;
}

.login-input-dropdown .dropdown-menu {
    min-width: 220px;
    padding: 10px;
    margin-top: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    background-color: #ffffff;
    z-index: 1070;
}

.login-input-dropdown .dropdown-item {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin-bottom: 2px;
    position: relative;
    cursor: pointer;
}

.login-input-dropdown .history-item-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-grow: 1;
}

.delete-history-item {
    padding: 4px;
    border-radius: 6px;
    color: #999;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.delete-history-item:hover {
    background-color: #ffeded;
    color: #ff4d4d;
}

.delete-history-item i {
    font-size: 1rem !important;
}

.login-input-dropdown .autofill-email-item {
    background-color: #f1f4ff;
    color: var(--dashboard-theme-color, #3e5ee0);
    font-weight: 500;
}

.login-input-dropdown .autofill-email-item i {
    color: var(--dashboard-theme-color, #3e5ee0);
}

.login-input-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #333;
}

.login-input-dropdown .autofill-email-item:hover {
    background-color: #e8ecff;
}

.login-input-dropdown .dropdown-divider {
    margin: 8px 0;
    border-color: #f0f0f0;
}

.login-input-dropdown .dropdown-item i {
    font-size: 1.1rem;
}