/* Multi-Poster Custom Styles */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

main {
    flex: 1;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.4rem;
}

.card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Editor styles */
#content {
    min-height: 300px;
    resize: vertical;
}

#preview {
    min-height: 300px;
    max-height: 600px;
    overflow-y: auto;
}

#preview h1 {
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

#preview pre {
    background-color: #f4f4f4;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
}

#preview code {
    background-color: #e9ecef;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
}

#preview blockquote {
    border-right: 4px solid #0d6efd;
    padding-right: 1rem;
    margin-right: 0;
    color: #6c757d;
}

/* Account cards */
.account-checkbox {
    transform: scale(1.2);
}

/* History table */
#historyTable td {
    vertical-align: middle;
}

/* Platform cards */
.platform-card .card-header {
    font-weight: bold;
}

/* Stats cards */
.stats-card h2 {
    font-size: 2.5rem;
    font-weight: bold;
}

/* Modal improvements */
.modal-body .form-label {
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    #content {
        min-height: 200px;
    }
}

/* Loading spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Success/Error animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert {
    animation: fadeIn 0.3s ease;
}

/* Badge improvements */
.badge {
    font-weight: 500;
}

/* Table hover */
.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

/* Form improvements */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}
