/* solidd - skills marketplace styles */

.view-subtitle {
    color: var(--text-muted, #888);
    font-size: 14px;
    margin-top: -8px;
    margin-bottom: 16px;
}

/* tabs */
.solidd-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.solidd-tab {
    flex: 1;
    padding: 12px;
    background: var(--bg-card, #1a1a1f);
    border: none;
    border-radius: 8px;
    color: var(--text-muted, #888);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.solidd-tab.active {
    background: var(--accent, #6c5ce7);
    color: #fff;
}

.solidd-tab-content {
    display: none;
}

.solidd-tab-content.active {
    display: block;
}

/* search */
.solidd-search {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
}

.solidd-search input[type="text"] {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-card, #1a1a1f);
    border: 1px solid var(--border, #333);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
}

.solidd-filter {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted, #888);
    font-size: 13px;
    white-space: nowrap;
}

.solidd-filter input {
    accent-color: var(--accent, #6c5ce7);
}

/* skills grid */
.solidd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.skill-card {
    background: var(--bg-card, #1a1a1f);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.skill-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.skill-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.skill-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.skill-provider {
    color: #fff;
    font-weight: 500;
}

.verified-badge {
    background: var(--accent, #6c5ce7);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

.skill-name {
    color: #fff;
    font-size: 18px;
    margin-bottom: 6px;
}

.skill-tags {
    color: var(--text-muted, #888);
    font-size: 13px;
    margin-bottom: 12px;
}

.skill-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-rating {
    color: #f1c40f;
    font-size: 14px;
}

.skill-rating .rating-num {
    color: var(--text-muted, #888);
    margin-left: 4px;
}

.skill-rating.no-rating {
    color: var(--text-muted, #666);
    font-size: 12px;
}

.review-count {
    color: var(--text-muted, #666);
    font-size: 12px;
}

/* skill detail modal */
.skill-detail-header {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.skill-detail-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.skill-detail-header h2 {
    color: #fff;
    margin: 0 0 4px;
}

.skill-detail-provider {
    color: var(--text-muted, #888);
    font-size: 14px;
}

.skill-description {
    color: var(--text, #ddd);
    line-height: 1.6;
    margin-bottom: 16px;
}

.skill-info-row {
    color: var(--text-muted, #888);
    font-size: 13px;
    margin-bottom: 16px;
}

.skill-rating-detail {
    background: var(--bg-dark, #0a0a0f);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.skill-rating-detail .stars {
    color: #f1c40f;
    font-size: 20px;
}

.skill-rating-detail .rating-text {
    color: var(--text-muted, #888);
    margin-left: 8px;
    font-size: 14px;
}

.book-btn {
    width: 100%;
    margin: 16px 0;
}

.skill-reviews h3 {
    color: var(--text-muted, #888);
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.review {
    background: var(--bg-dark, #0a0a0f);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.review-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author {
    color: #fff;
    font-weight: 500;
    margin-right: 8px;
}

.review-rating {
    color: #f1c40f;
    font-size: 12px;
}

.review-text {
    color: var(--text, #ddd);
    font-size: 14px;
    line-height: 1.5;
}

/* my skills */
.my-skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.my-skill-info h3 {
    color: #fff;
    margin: 0 0 4px;
}

.my-skill-meta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.skill-status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
}

.skill-status.active {
    background: #00b894;
    color: #fff;
}

.skill-status.inactive {
    background: var(--text-muted, #666);
    color: #fff;
}

.my-skill-actions {
    display: flex;
    gap: 8px;
}

/* skill form */
.solidd-form {
    background: var(--bg-card, #1a1a1f);
    padding: 20px;
    border-radius: 12px;
    margin-top: 16px;
}

.solidd-form h3 {
    color: #fff;
    margin: 0 0 16px;
}

.solidd-form input[type="text"],
.solidd-form textarea {
    width: 100%;
    padding: 12px;
    background: var(--bg-dark, #0a0a0f);
    border: 1px solid var(--border, #333);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    margin-bottom: 12px;
}

.solidd-form textarea {
    min-height: 80px;
    resize: vertical;
}

.solidd-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text, #ddd);
    margin-bottom: 12px;
}

.solidd-checkbox input {
    accent-color: var(--accent, #6c5ce7);
}

.solidd-license-section {
    background: var(--bg-dark, #0a0a0f);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.solidd-note {
    color: var(--text-muted, #888);
    font-size: 13px;
    margin-bottom: 10px;
}

/* bookings */
.solidd-booking-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.solidd-booking-filters select {
    padding: 10px 12px;
    background: var(--bg-card, #1a1a1f);
    border: 1px solid var(--border, #333);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
}

.booking-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.booking-info h3 {
    color: #fff;
    margin: 0 0 4px;
}

.booking-party {
    color: var(--text, #ddd);
    font-size: 14px;
    margin-bottom: 4px;
}

.booking-time {
    color: var(--text-muted, #888);
    font-size: 13px;
}

.booking-location {
    color: var(--text-muted, #888);
    font-size: 13px;
}

.booking-notes {
    color: var(--text-muted, #666);
    font-size: 12px;
    font-style: italic;
    margin-top: 4px;
}

.booking-status-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.booking-status-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
}

.booking-status-badge.pending {
    background: #f39c12;
    color: #000;
}

.booking-status-badge.confirmed {
    background: #00b894;
    color: #fff;
}

.booking-status-badge.completed {
    background: var(--accent, #6c5ce7);
    color: #fff;
}

.booking-status-badge.cancelled {
    background: var(--text-muted, #666);
    color: #fff;
}

/* button variants */
.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-sm.primary {
    background: var(--accent, #6c5ce7);
    color: #fff;
}

.btn-sm.secondary {
    background: var(--bg-card, #333);
    color: #fff;
}

.btn-sm.danger {
    background: #e74c3c;
    color: #fff;
}

/* modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: var(--bg-card, #1a1a1f);
    border-radius: 16px;
    padding: 24px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-muted, #888);
    font-size: 24px;
    cursor: pointer;
}

.modal-close:hover {
    color: #fff;
}

.modal-content h3 {
    color: #fff;
    margin: 0 0 16px;
}

.modal-content label {
    display: block;
    color: var(--text-muted, #888);
    font-size: 13px;
    margin-bottom: 6px;
    margin-top: 12px;
}

.modal-content input,
.modal-content select,
.modal-content textarea {
    width: 100%;
    padding: 12px;
    background: var(--bg-dark, #0a0a0f);
    border: 1px solid var(--border, #333);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
}

.modal-content textarea {
    min-height: 60px;
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.form-actions button {
    flex: 1;
}

/* empty state */
.empty-state {
    text-align: center;
    color: var(--text-muted, #666);
    padding: 40px 20px;
}

/* responsive nav */
@media (max-width: 500px) {
    .bottom-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .bottom-nav .nav-btn {
        flex-shrink: 0;
    }
}
