/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    color: #333;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

/* ===== LOADING ===== */
.loading-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    gap: 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e0e0e0;
    border-top-color: #1a73e8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== HEADER ===== */
.header {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header.admin-header {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: white;
    opacity: 0.9;
    transition: opacity 0.3s;
    cursor: pointer;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ===== BURGER MENU ===== */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 101;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s;
    border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    z-index: 99;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: white;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.mobile-menu .btn {
    width: 100%;
    text-align: center;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    text-decoration: none;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: #1a73e8;
    color: white;
    border: 2px solid #1a73e8;
}

.btn-primary:hover:not(:disabled) {
    background: #1557b0;
    border-color: #1557b0;
}

.btn-white {
    background: #fff;
    color: #1a73e8;
    border: 2px solid #fff;
}

.btn-white:hover {
    background: #e3f2fd;
    border-color: #e3f2fd;
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.3);
}

.btn-success {
    background: transparent;
    border: 2px solid #4caf50;
    color: #4caf50;
}

.btn-success:hover {
    background: #4caf50;
    color: white;
}

.btn-danger {
    background: #f44336;
    color: white;
    border: 2px solid #f44336;
}

.btn-danger:hover {
    background: #e53935;
    border-color: #e53935;
}

.btn-warning {
    background: #ff9800;
    color: white;
    border: 2px solid #ff9800;
}

.btn-warning:hover {
    background: #f57c00;
    border-color: #f57c00;
}

.btn-outline {
    background: transparent;
    border: 2px solid #ff9800;
    color: #ff9800;
}

.btn-outline:hover {
    background: #ff9800;
    color: #fff;
}

.btn-outline-blue {
    background: transparent;
    border: 2px solid #1a73e8;
    color: #1a73e8;
}

.btn-outline-blue:hover {
    background: #1a73e8;
    color: #fff;
}

.btn-small {
    padding: 7px 12px;
    font-size: 12px;
}

.btn-icon {
    width: 50px;
    min-width: 50px;
    padding: 10px;
}

/* ===== CONTAINERS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

.container-wide {
    max-width: 1400px;
}

/* ===== AUTH CONTAINER ===== */
.auth-container {
    max-width: 450px;
    margin: 50px auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.auth-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 10px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s, border-radius 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a73e8;
}

.form-group .searchable-select-wrapper input:focus {
    border-radius: 8px 8px 0 0;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 15px 0;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 13px;
    color: #555;
    cursor: pointer;
    line-height: 1.4;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
}

/* ===== ROLE SELECTOR ===== */
.role-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.role-btn {
    flex: 1;
    padding: 13px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
}

.role-btn.active {
    border-color: #1a73e8;
    background: #e3f2fd;
}

.role-btn:hover {
    border-color: #1a73e8;
}

/* ===== DASHBOARD ===== */
.dashboard {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
}

.sidebar {
    background: white;
    border-radius: 12px;
    padding: 20px 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: 90px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    padding: 12px 15px;
    margin-bottom: 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.sidebar-menu li:hover {
    background: #f5f5f5;
}

.sidebar-menu li.active {
    background: #e3f2fd;
    color: #1a73e8;
    font-weight: 500;
}

.sidebar-menu li.user-name-item {
    cursor: default;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0;
    margin-bottom: 15px;
}

.sidebar-menu li.hidden-item {
    display: none;
}

.badge {
    color: #1a73e8;
    font-size: 12px;
    font-weight: bold;
    margin-left: auto;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    background: white;
    border-radius: 12px;
    padding: 20px 10px;
    margin-top: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.main-content h2 {
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

/* ===== CARDS ===== */
.card {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.card-subtitle {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.card-body {
    color: #111;
    line-height: 1.4;
    font-size: 14px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    flex-wrap: wrap;
    gap: 10px;
}

/* ===== STATUS BADGES ===== */
.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-active {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #cbddcd;
}

.status-pending {
    background: #fff3e0;
    color: #ef6c00;
    border: 1px solid #f7e9d3;
}

.status-closed {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #f3d9dd;
}

.status-blocked {
    background: #fce4ec;
    color: #c2185b;
    border: 1px solid #f3d5df;
}

/* ===== CHAT ===== */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 500px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}

.chat-header {
    padding: 15px;
    background: #e3f2fd;
    border-bottom: 1px solid #e0e0e0;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #fafafa;
    font-size: 14px;
}

.message {
    max-width: 90%;
    margin-bottom: 15px;
    padding: 12px 16px;
    border-radius: 16px;
    line-height: 1.3;
}

.message-sent {
    background: #1a73e8;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.message-received {
    background: #e0e0e0;
    color: #333;
    border-bottom-left-radius: 4px;
}

.message-time {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 5px;
}

.message-system {
    text-align: center;
    color: #666;
    font-size: 13px;
    padding: 10px 15px;
    background: #fff3e0;
    border-radius: 8px;
    max-width: 100%;
    margin: 10px auto;
}

.message-file {
    margin-top: 8px;
    padding: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 6px;
}

.message-file a {
    color: inherit;
    text-decoration: underline;
}

.chat-input {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: white;
    border-top: 1px solid #e0e0e0;
}

.chat-input input[type="text"] {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
}

.chat-input input[type="text"]:focus {
    border-color: #1a73e8;
}

.chat-input input[type="file"] {
    display: none;
}

.chat-file-preview {
    font-size: 11px;
    color: #666;
    padding: 5px 15px;
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
}

/* ===== FILTERS ===== */
.filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 10px;
    align-items: flex-end;
    flex-direction: row;
    border: 1px solid #e0e0e0;
}

.filters .form-group {
    margin-bottom: 0;
    min-width: 150px;
}

.filters select,
.filters input {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
}

/* ===== USER INFO ===== */
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #e3f2fd;
    border-radius: 10px;
    margin-bottom: 20px;
}

.user-id {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* ===== PROPOSAL FORM ===== */
.proposal-form {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
}

.proposal-form h4 {
    margin-bottom: 15px;
    color: #333;
}

.proposal-form.collapsed {
    display: none;
}

/* ===== PROPOSAL CARD ===== */
.proposal-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}

.proposal-card.deleted {
    opacity: 0.6;
    border-color: #ffcdd2;
    background: #ffebee;
}

.proposal-price {
    font-size: 20px;
    font-weight: bold;
    color: #1a73e8;
}

.proposal-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin: 15px 0;
}

.proposal-detail {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e1e0e0;
}

.proposal-detail-label {
    font-size: 12px;
    color: #666;
}

.proposal-detail-value {
    font-weight: 500;
    color: #333;
}

/* ===== SELLER INFO ===== */
.seller-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #e3f2fd;
    border-radius: 10px;
    margin-bottom: 15px;
}

.seller-info-details h4 {
    color: #1a73e8;
    margin-bottom: 5px;
}

.seller-info-details p {
    font-size: 13px;
    color: #666;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: #999;
}

.empty-state .icon {
    font-size: 60px;
    margin-bottom: 20px;
}

/* ===== NOTIFICATIONS ===== */
.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    animation: slideIn 0.3s ease;
    max-width: 350px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.notification-success { background: #4caf50; }
.notification-error { background: #f44336; }
.notification-info { background: #2196f3; }
.notification-warning { background: #ff9800; }

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-bell {
    position: relative;
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #f44336;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
}

.notification-bell-sidebar {
    position: relative;
}

.notification-bell-sidebar .notification-count {
    position: absolute;
    top: -2px;
    left: 15px;
}

.notifications-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    width: 350px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 10px;
    color: #333;
}

.notifications-dropdown h4 {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
    font-size: 14px;
}

.notification-item {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.3s;
}

.notification-item:hover {
    background: #f5f5f5;
}

.notification-item.unread {
    background: #e3f2fd;
}

.notification-item p {
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

.notification-item small {
    color: #999;
    font-size: 12px;
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal {
    background: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal h3 {
    margin-bottom: 20px;
    color: #333;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* ===== CATALOG ===== */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.seller-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.seller-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.seller-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.seller-card-body {
    color: #555;
    font-size: 14px;
}

.seller-card-body p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.seller-specialization {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.spec-tag {
    background: #e3f2fd;
    color: #1a73e8;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
}

/* ===== ADMIN STATS ===== */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

.stat-card .value {
    font-size: 36px;
    font-weight: bold;
    color: #1a73e8;
}

.stat-card .label {
    color: #666;
    margin-top: 5px;
}

.stat-card.danger .value { color: #f44336; }
.stat-card.success .value { color: #4caf50; }
.stat-card.warning .value { color: #ff9800; }

/* ===== DATA TABLE ===== */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.data-table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.data-table tr {
    height: 52px;
}

.data-table tr:hover {
    background: #fafafa;
}

.data-table .actions {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.data-table tr.clickable {
    cursor: pointer;
}

.data-table tr.clickable:hover {
    background: #e3f2fd;
}

/* ===== TABS ===== */
.tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    flex-wrap: wrap;
}

.tab {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
    color: #666;
}

.tab:hover {
    background: #f5f5f5;
    color: #333;
}

.tab.active {
    border-bottom-color: #1a73e8;
    color: #1a73e8;
    font-weight: 500;
}

/* ===== COMPLAINT CARD ===== */
.complaint-card {
    background: #fff8e1;
    border: 1px solid #ffcc80;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}

.complaint-card.resolved {
    background: #e8f5e9;
    border-color: #a5d6a7;
}

.complaint-card.rejected {
    background: #fafafa;
    border-color: #e0e0e0;
    opacity: 0.7;
}

/* ===== HERO ===== */
.hero {
    color: #1a73e8;
    padding: 20px;
    text-align: center;
    margin: 10px;
    border-radius: 20px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== QUICK FORM ===== */
.quick-form {
    background: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 800px;
    margin: 30px auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.quick-form h3 {
    margin-bottom: 20px;
    color: #333;
}

/* ===== SEARCH BOX ===== */
.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.search-box input {
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
}

.search-box input:focus {
    outline: none;
    border-color: #1a73e8;
}

.search-box select {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    min-width: 150px;
}

/* ===== REQUEST ACTIONS ===== */
.request-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

/* ===== FILE ATTACHMENT ===== */
.file-input-wrapper {
    position: relative;
}

.file-name {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.file-attachment {
    margin-top: 10px;
    padding: 10px;
    background: #e3f2fd;
    border-radius: 8px;
}

.file-attachment a {
    color: #1a73e8;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-attachment a:hover {
    text-decoration: underline;
}

/* ===== PAYMENT STATUS ===== */
.payment-status {
    padding: 20px;
    background: #f5f5f5;
    border-radius: 12px;
    margin-bottom: 20px;
}

.payment-status.active {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
}

.payment-status.inactive {
    background: #ffebee;
    border: 1px solid #ffcdd2;
}

.payment-status h3 {
    margin-bottom: 10px;
}

.payment-status .status-text {
    font-size: 18px;
    font-weight: 600;
}

.payment-status .status-text.active { color: #2e7d32; }
.payment-status .status-text.inactive { color: #c62828; }

.payment-status .expires {
    color: #666;
    margin-top: 5px;
}

.payment-price {
    font-size: 24px;
    font-weight: bold;
    color: #1a73e8;
    margin: 15px 0;
}

/* ===== SEARCHABLE SELECT ===== */
.searchable-select-wrapper {
    position: relative;
}

.searchable-select-wrapper input {
    width: 100%;
}

.searchable-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #1a73e8;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.searchable-select-wrapper input:focus + .searchable-dropdown,
.searchable-dropdown:hover {
    display: block;
}

.searchable-dropdown.hidden {
    display: none !important;
}

.searchable-dropdown-item {
    padding: 10px 15px;
    cursor: pointer;
}

.searchable-dropdown-item:hover {
    background: #e3f2fd;
}

/* ===== BACK BUTTON ===== */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a73e8;
    cursor: pointer;
    margin-bottom: 15px;
    font-weight: 500;
}

.back-btn:hover {
    text-decoration: underline;
}

/* ===== UTILITIES ===== */
.hidden {
    display: none !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .sidebar {
        position: relative;
        top: 0;
    }
    
    .sidebar-menu li {
        margin-bottom: 0;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .main-content {
        padding: 20px 5px;
    }
    
    .main-content h2 {
        padding: 0 5px 15px 5px;
    }
    
    .container {
        padding: 10px 5px;
    }
    
    .card {
        margin-bottom: 10px;
    }
    
    .form-row {
        gap: 0;
        margin-bottom: 10px;
    }
    
    .filters {
        flex-wrap: wrap;
    }
    
    .auth-container {
        margin: 20px 10px;
        padding: 20px;
    }
    
    .notifications-dropdown {
        width: 300px;
        right: -50px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 15px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .quick-form {
        padding: 20px 15px;
        margin: 15px 10px;
    }
}