/* ===== SHARED STYLES ===== */
body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
}

/* ===== SETTINGS.HTML STYLES ===== */
.settings-container {
    max-width: 1200px;
    margin: 20px auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.settings-header {
    background-color: #212529;
    color: white;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.settings-header h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.header-controls {
    display: flex;
    gap: 10px;
}

.header-controls button {
    background: none;
    border: none;
    color: #adb5bd;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
}

.header-controls button:hover {
    color: white;
}

.settings-body {
    display: flex;
    min-height: 600px;
}

.settings-sidebar {
    width: 200px;
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    padding: 0;
}

.settings-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.settings-footer {
    border-top: 1px solid #dee2e6;
    padding: 15px 20px;
    background-color: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-pills .nav-link {
    color: #495057;
    border-radius: 0;
    margin: 0;
    padding: 12px 20px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.nav-pills .nav-link:hover {
    background-color: #e9ecef;
    color: #495057;
}

.nav-pills .nav-link.active {
    background-color: #ed8e5b;
    color: white;
}

.section-header {
    background-color: #6c757d;
    color: white;
    padding: 8px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.section-content {
    margin-bottom: 30px;
}

.form-check {
    margin-bottom: 12px;
}

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

.inline-input {
    display: inline-block;
    width: 80px;
    margin-left: 10px;
}

.hotkey-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
}

.hotkey-row label {
    flex: 1;
    margin: 0;
}

.hotkey-row input {
    width: 200px;
}

.icon-option {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
}

.icon-option:hover {
    background-color: #f8f9fa;
}

.icon-option input[type="radio"]:checked + .icon-placeholder {
    border-color: #0d6efd;
}

.icon-placeholder {
    width: 32px;
    height: 32px;
    background-color: #dee2e6;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 12px;
    color: #6c757d;
}

.btn-footer {
    min-width: 100px;
}

/* Form styling for Pastree theme */
.form-check-input:focus {
    border-color: rgba(237,142,91,.75);
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(237,142,91,.25);
}

.form-check-input:checked {
    background-color: #ed8e5b;
    border-color: #ed8e5b;
}

/* ===== ACCOUNT_SETTINGS.HTML STYLES ===== */
.account-settings-container {
    max-width: 1000px;
    margin: 20px auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.account-header {
    background-color: #212529;
    color: white;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.account-header h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.header-close-btn {
    background: none;
    border: none;
    color: #adb5bd;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
}

.header-close-btn:hover {
    color: white;
}

.account-tabs-nav {
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

.account-tabs-nav .nav-tabs {
    border-bottom: none;
    padding: 0 20px;
}

.account-tabs-nav .nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    background: none;
    color: #495057;
    padding: 12px 16px;
    border-radius: 0;
}

.account-tabs-nav .nav-tabs .nav-link:hover {
    border-color: transparent;
    background-color: rgba(0,0,0,0.05);
}

.account-tabs-nav .nav-tabs .nav-link.active {
    background: none;
    border-color: transparent transparent #f08c38 transparent;
    color: #495057;
    font-weight: 500;
}

.account-content {
    padding: 30px;
    min-height: 500px;
}

.account-description {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
}

.account-description p {
    color: #6c757d;
    margin-bottom: 0;
}

.account-section {
    margin-bottom: 40px;
}

.account-section-header {
    background-color: #495057;
    color: white;
    padding: 10px 15px;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 14px;
}

.account-section-content {
    border: 1px solid #dee2e6;
    border-top: none;
}

.account-row {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f1f3f4;
    min-height: 60px;
}

.account-row:last-child {
    border-bottom: none;
}

.account-label {
    flex: 0 0 200px;
    font-weight: 500;
    color: #495057;
    padding-right: 20px;
}

.account-value {
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.account-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.account-info-text {
    color: #6c757d;
    font-size: 13px;
    font-style: italic;
}

.account-links a {
    color: #0d6efd;
}

.account-links a:hover {
    color: #0a58ca;
}

.account-footer {
    border-top: 1px solid #dee2e6;
    padding: 20px 30px;
    background-color: #f8f9fa;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Orange button for Pastree theme */
.btn-orange {
    background-color: #f08c38;
    border-color: #f08c38;
    color: white;
}

.btn-orange:hover {
    background-color: #e77c28;
    border-color: #e77c28;
    color: white;
}

.btn-orange:focus {
    box-shadow: 0 0 0 0.25rem rgba(240, 140, 56, 0.25);
}

.btn-orange:active {
    background-color: #d66d18;
    border-color: #d66d18;
    color: white;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .settings-container,
    .account-settings-container {
        margin: 10px;
        border-radius: 0;
    }
    
    .settings-body {
        flex-direction: column;
    }
    
    .settings-sidebar {
        width: 100%;
    }
    
    .account-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    
    .account-label {
        flex: none;
        margin-bottom: 10px;
        padding-right: 0;
    }
    
    .account-value {
        width: 100%;
    }
    
    .account-controls {
        flex-direction: column;
    }
    
    .account-footer {
        flex-direction: column-reverse;
        gap: 10px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-orange {
    color: #f08c38 !important;
}

.bg-orange {
    background-color: #f08c38 !important;
}

.border-orange {
    border-color: #f08c38 !important;
}

/* Focus states for accessibility */
*:focus {
    outline: 2px solid #f08c38;
    outline-offset: 2px;
}

.btn:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    outline: none;
} 

.btn-pastree {
    background-color: #f08c38;
    border-color: #f08c38;
    color: white;
    padding: 8px 24px;
  }
.btn-pastree:hover {
    background-color: #cb6d21;
    border-color: #f08c38;
    color: white;
    padding: 8px 24px;
  }