/* Banned Page Styles - Exact copy from DogeGage Chat */

/* Reset body/html when banned page is active */
body:has(.banned-overlay) {
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

#app:has(.banned-overlay) {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    overflow: visible !important;
}

.banned-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #111827;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.banned-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: #1f2937;
    border-bottom: 1px solid #374151;
}

.banned-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.banned-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    overflow: hidden;
}

.banned-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banned-username {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f3f4f6;
}

.banned-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #9ca3af;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.banned-logout-btn {
    padding: 0.75rem 1.5rem;
    background: #374151;
    color: #f3f4f6;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.banned-logout-btn:hover {
    background: #4b5563;
}

.banned-container {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.banned-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    width: 100%;
    align-items: start;
}

.banned-left-column,
.banned-right-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.banned-status-banner {
    background: #1f2937;
    border: 1px solid #374151;
    border-left: 4px solid #6b7280;
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.banned-status-icon {
    width: 48px;
    height: 48px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.banned-status-icon svg {
    color: #9ca3af;
}

.banned-status-text {
    flex: 1;
}

.banned-status-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f3f4f6;
    margin-bottom: 0.25rem;
}

.banned-status-subtitle {
    font-size: 0.875rem;
    color: #9ca3af;
}

.banned-details-section {
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.banned-details-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.banned-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #374151;
}

.banned-detail-item:last-child {
    border-bottom: none;
}

.banned-detail-label {
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 500;
}

.banned-detail-value {
    font-size: 0.875rem;
    color: #f3f4f6;
    font-weight: 600;
}

.banned-reason-section {
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.banned-section-title {
    font-size: 0.875rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.banned-reason-content {
    font-size: 1rem;
    color: #d1d5db;
    line-height: 1.6;
}

.banned-actions {
    display: flex;
    gap: 1rem;
}

.banned-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid #374151;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #1f2937;
    color: #f3f4f6;
}

.banned-btn:hover {
    background: #374151;
    border-color: #4b5563;
}

.banned-btn svg {
    width: 18px;
    height: 18px;
}

.banned-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    z-index: 100000;
    padding: 2rem;
}

.banned-modal.show {
    display: flex;
}

.banned-modal-content {
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
}

.banned-modal-content h3 {
    color: #f3f4f6;
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
}

.banned-modal-content textarea {
    width: 100%;
    padding: 1rem;
    background: #111827;
    border: 1px solid #374151;
    border-radius: 6px;
    color: #f3f4f6;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 1rem;
}

.banned-modal-content textarea:focus {
    outline: none;
    border-color: #667eea;
}

.appeal-message {
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.banned-modal-content button {
    width: 100%;
}

/* Tablet Layout */
@media (max-width: 1024px) {
    .banned-content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .banned-container {
        padding: 1.5rem;
    }
}

/* Mobile Layout */
@media (max-width: 768px) {
    .banned-topbar {
        padding: 1rem;
        flex-wrap: wrap;
    }

    .banned-title {
        font-size: 1.125rem;
        position: static;
        transform: none;
        width: 100%;
        order: 3;
        margin-top: 1rem;
    }

    .banned-user-info {
        order: 1;
    }

    .banned-logout-btn {
        order: 2;
    }

    .banned-container {
        padding: 1rem;
    }

    .banned-content-grid {
        gap: 1rem;
    }

    .banned-actions {
        flex-direction: column;
    }

    .banned-status-banner {
        flex-direction: column;
        text-align: center;
    }

    .banned-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .banned-left-column,
    .banned-right-column {
        gap: 1rem;
    }
}

/* Appeals List Styles */
.banned-appeals-section {
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

#appeals-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.appeal-item {
    background: #111827;
    border: 1px solid #374151;
    border-radius: 6px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.appeal-item:hover {
    background: #1f2937;
    border-color: #4b5563;
    transform: translateX(4px);
}

.appeal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.appeal-status {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.appeal-date {
    font-size: 0.75rem;
    color: #6b7280;
}

.appeal-reason {
    color: #d1d5db;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.appeal-response-preview {
    background: #1f2937;
    border-left: 3px solid #4b5563;
    padding: 0.75rem;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.appeal-response-preview strong {
    color: #f3f4f6;
}

.appeal-view-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #374151;
    color: #f3f4f6;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.75rem;
}

.appeal-view-btn:hover {
    background: #4b5563;
}

.appeal-view-btn svg {
    transition: transform 0.2s;
}

.appeal-view-btn:hover svg {
    transform: translateX(2px);
}

/* Fullscreen Appeal View */
.appeal-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #111827;
    z-index: 100001;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.appeal-fullscreen.show {
    display: flex;
}

.appeal-fullscreen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: #1f2937;
    border-bottom: 1px solid #374151;
}

.appeal-fullscreen-header h2 {
    color: #f3f4f6;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.appeal-back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #374151;
    color: #f3f4f6;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.appeal-back-btn:hover {
    background: #4b5563;
}

.appeal-fullscreen-content {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.appeal-full-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
}

.appeal-full-left,
.appeal-full-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.appeal-full-status {
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.appeal-full-status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.appeal-full-date {
    color: #9ca3af;
    font-size: 0.875rem;
}

.appeal-full-section {
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.appeal-full-section-title {
    color: #9ca3af;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.appeal-full-text {
    color: #f3f4f6;
    font-size: 1rem;
    line-height: 1.8;
    white-space: pre-wrap;
}

.appeal-full-response {
    display: flex;
    gap: 1rem;
    background: #111827;
    border: 1px solid #374151;
    border-radius: 6px;
    padding: 1.5rem;
}

.appeal-full-response-icon {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.appeal-full-response-icon svg {
    color: #9ca3af;
}

.appeal-full-response-content {
    flex: 1;
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.8;
    white-space: pre-wrap;
}

.appeal-full-timestamp {
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.appeal-pending-notice {
    text-align: center;
    padding: 3rem 2rem;
}

.appeal-pending-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.appeal-pending-notice h3 {
    color: #f3f4f6;
    font-size: 1.25rem;
    margin: 0 0 0.75rem 0;
}

.appeal-pending-notice p {
    color: #9ca3af;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.appeal-full-info {
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.appeal-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.appeal-info-label {
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
}

.appeal-info-value {
    color: #f3f4f6;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Tablet and Mobile Layouts */
@media (max-width: 1024px) {
    .appeal-full-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .appeal-fullscreen-header {
        padding: 1rem;
    }

    .appeal-fullscreen-header h2 {
        font-size: 1.125rem;
    }

    .appeal-back-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .appeal-back-btn span {
        display: none;
    }

    .appeal-fullscreen-content {
        padding: 1rem;
    }

    .appeal-full-layout {
        gap: 1rem;
    }

    .appeal-full-section {
        padding: 1.5rem;
    }

    .appeal-full-response {
        flex-direction: column;
    }

    .appeal-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .appeal-full-status {
        padding: 1rem;
    }

    .appeal-full-status-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .appeal-full-date {
        font-size: 0.75rem;
    }
}
