/* ABG Header User Info Styles */
.abg-header-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* User Info Component Styles */
.abg-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.abg-user-avatar {
    font-size: 24px;
    color: #ffd700;
}

.abg-user-details {
    flex: 1;
    min-width: 0;
}

.abg-user-name {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.abg-user-email {
    font-size: 12px;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.abg-user-actions {
    margin-left: 8px;
}

.abg-logout-btn {
    color: #ff6b6b;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}

.abg-logout-btn:hover {
    color: white;
    background: #ff6b6b;
    text-decoration: none;
}

.abg-guest-info {
    display: flex;
    align-items: center;
}

.abg-login-btn {
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    transition: all 0.3s ease;
}

.abg-login-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: white !important;
    color: white !important;
}

/* User Info Responsive Adjustments */
@media (max-width: 768px) {
    .abg-user-info {
        padding: 6px 8px;
        gap: 8px;
    }
    
    .abg-user-avatar {
        font-size: 20px;
    }
    
    .abg-user-name {
        font-size: 13px;
    }
    
    .abg-user-email {
        font-size: 11px;
    }
    
    .abg-logout-btn span {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .abg-header-user {
        gap: 8px;
    }
    
    .abg-user-info {
        max-width: 180px;
    }
    
    .abg-user-name,
    .abg-user-email {
        font-size: 12px !important;
    }
    
    .abg-login-btn {
        font-size: 12px !important;
        padding: 4px 8px !important;
    }
}
@media (max-width: 576px) {
    .abg-header-user {
        gap: 8px;
    }
    
    .abg-user-info {
        max-width: 180px;
    }
    
    .abg-user-name,
    .abg-user-email {
        font-size: 12px !important;
    }
    
    .abg-login-btn {
        font-size: 12px !important;
        padding: 4px 8px !important;
    }
}

@media (max-width: 480px) {
    .abg-user-info {
        max-width: 140px;
    }
    
    .abg-user-details {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    
    .abg-user-name {
        font-size: 11px !important;
        line-height: 1.2;
    }
    
    .abg-user-email {
        font-size: 10px !important;
        line-height: 1.1;
    }
}

/* Sidebar responsive improvements */
@media (max-width: 768px) {
    .abg-sidebar-item-desc {
        font-size: 11px;
        line-height: 1.3;
    }
    
    .abg-sidebar-item-title {
        font-size: 14px;
    }
}

/* Header layout improvements */
.abg-header-content {
    min-height: 60px;
}

.abg-logo-text {
    font-size: 16px;
}

/* ========================================
   SELECT BOX STYLES - BASIC NATIVE ONLY
======================================== */

/* Completely Basic Select - No Custom Styling */
.abg-form-select {
    /* Reset to browser defaults */
    appearance: auto;
    background: white;
    border: 1px solid #ccc;
    padding: 8px;
    font-size: 14px;
    width: 100%;
    font-family: inherit;
}

.abg-form-select:focus {
    outline: auto;
    border-color: #0066cc;
}

/* Country and State selects - same basic style */
select[name="CountryId"],
select[name="StateProvinceId"] {
    appearance: auto;
    border: 1px solid #ccc;
    padding: 8px;
    font-size: 1rem;
    width: 100%;
    height:42px;
    margin-bottom: 10px;
    background: var(--glass-bg);
    color: var(--abg-white);
    border: 1px solid #ddd;
    border-radius: 0;
}
select[name="CountryId"] option,
select[name="StateProvinceId"] option {
    border-bottom: 1px solid #ccc;
    background: var(--glass-bg);
    color: var(--abg-primary);
}
.abg-form-select:focus {
    outline: none;
    border-color: var(--abg-white);
    background: var(--abg-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}
.abg-radio-input .abg-checkbox-input {
    vertical-align: middle;
    width: 22px;
    height: 22px;
}
.abg-avatar-info{
 color: var(--abg-white);   
}
.abg-card-description{
    color: var(--abg-white);   
}
.abg-card-header {
  color: var(--abg-white);
}
input[type="checkbox"], input[type="radio"], input[type="checkbox"] + *, input[type="radio"] + *
 {
    vertical-align: middle;
    width: 22px;
    height: 22px;
}
.abg-form-label {
    color: var(--abg-white) !important;
    font-weight: 600;
}
/* ========================================
   CHECKBOX STYLES - BASIC NATIVE ONLY
======================================== */

/* Simple Checkbox Label */
.abg-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 0;
    margin-bottom: 5px;
}

/* Basic Native Checkbox - No Custom Styling */
.abg-checkbox-input {
    /* Use browser default checkbox */
    margin: 0;
    cursor: pointer;
}

.abg-checkbox-text {
    cursor: pointer;
    width: 100% !important;
}



/* ========================================
   RADIO BUTTON STYLES - BASIC NATIVE ONLY
======================================== */

/* Radio Button Group */
.abg-radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 5px;
}

/* Simple Radio Button Label */
.abg-radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
    padding: 5px;
}

/* Basic Native Radio Button - No Custom Styling */
.abg-radio-input {
    /* Use browser default radio button */
    margin: 0;
    cursor: pointer;
}

/* Form Notes */
.abg-form-note {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
    font-style: italic;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .abg-logo-text {
        display: none;
    }
    
    .abg-header-content {
        padding: 8px 12px !important;
    }
}

/* User info card hover effects */
.abg-user-info:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

/* Login button improvements */
.abg-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Text danger color for logout */
.text-danger .abg-sidebar-item-title,
.text-danger .abg-sidebar-item-desc {
    color: #dc3545 !important;
}

.text-danger:hover {
    background-color: rgba(220, 53, 69, 0.1) !important;
}

/* Improved sidebar user section */
.abg-sidebar-item .abg-sidebar-item-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.abg-sidebar-item:hover .abg-sidebar-item-desc {
    color: rgba(255, 255, 255, 0.9);
}

/* Sidebar Logo Link Styles */
.abg-sidebar-logo a {
    color: inherit !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.abg-sidebar-logo a:hover {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

.abg-sidebar-logo a:focus {
    outline: none;
    text-decoration: none !important;
}

/* Sidebar User Info Styles */
.abg-sidebar-user-section {
    padding: 20px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.abg-sidebar-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.abg-sidebar-user-avatar {
    font-size: 32px;
    color: #4FC3F7;
    flex-shrink: 0;
}

.abg-sidebar-user-info {
    flex: 1;
    min-width: 0;
}

.abg-sidebar-user-name {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.abg-sidebar-user-email {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.abg-sidebar-divider-small {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 15px 0;
}

.abg-sidebar-user-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.abg-sidebar-user-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.abg-sidebar-user-action:hover {
    background: rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.3);
    color: #4CAF50;
    text-decoration: none;
    transform: translateX(5px);
}

.abg-sidebar-user-action i {
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* Logout Action - Farklı stilde */
.abg-logout-action {
    background: rgba(255, 193, 7, 0.08) !important;
    border-color: rgba(255, 193, 7, 0.2) !important;
    color: #FFC107 !important;
}

.abg-logout-action:hover {
    background: rgba(255, 193, 7, 0.2) !important;
    border-color: rgba(255, 193, 7, 0.4) !important;
    color: #FFD54F !important;
    transform: translateX(5px);
}

/* Guest User Styles */
.abg-sidebar-guest-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(33, 150, 243, 0.1);
    padding: 20px 15px;
    border-radius: 12px;
    border: 1px solid rgba(33, 150, 243, 0.2);
    margin-bottom: 15px;
}

.abg-sidebar-guest-icon {
    font-size: 28px;
    color: #2196F3;
    flex-shrink: 0;
}

.abg-sidebar-guest-content h6 {
    color: white;
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
}

.abg-sidebar-guest-content p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 12px;
    line-height: 1.3;
}

.abg-sidebar-guest-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.abg-sidebar-guest-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.abg-sidebar-guest-action.primary {
    background: #2196F3;
    color: white;
    border: 1px solid #2196F3;
}

.abg-sidebar-guest-action.primary:hover {
    background: #1976D2;
    border-color: #1976D2;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.abg-sidebar-guest-action.secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.abg-sidebar-guest-action.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* ========================================
   FORM LAYOUT & STRUCTURE
   Row layouts, responsive design, and form organization
======================================== */

/* Form Row Layout */
.abg-form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.abg-form-row .abg-form-group {
    flex: 1;
    min-width: 250px;
}

.abg-date-picker-row {
    display: flex;
    gap: 10px;
}

.abg-date-picker-row .abg-form-select {
    flex: 1;
}



/* ========================================
   OTHER INPUT STYLES
   Text inputs, textareas, and other form elements
======================================== */

/* Textarea Styling */
.abg-form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 100px;
}

.abg-form-textarea:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.abg-form-note {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.abg-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e1e5e9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.abg-section-title i {
    color: #2196F3;
}

@media (max-width: 768px) {
    .abg-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .abg-form-row .abg-form-group {
        min-width: unset;
    }
    
    .abg-radio-group {
        flex-direction: column;
        gap: 5px;
    }
    
    .abg-date-picker-row {
        flex-direction: column;
        gap: 10px;
    }
}