/* Modern Responsive Design - Liberales Leipzig */

/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: #2c3e50;
    line-height: 1.6;
    min-height: 100vh;
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    overflow: hidden;
    min-height: calc(100vh - 40px);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    background: linear-gradient(135deg, #c5006a 0%, #a0005a 100%);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
}

.nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ===== NAVBAR DROPDOWN SYSTEM ===== */
.nav-item {
    position: relative;
    display: inline-block;
}

.nav-dropdown {
    margin-right: 20px;
}

.nav-logout {
    margin-left: auto;
}

.nav-dropdown-toggle {
    cursor: pointer;
    user-select: none;
}

.dropdown-arrow {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0;
    border: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-dropdown-menu a:last-child {
    border-bottom: none;
}

.nav-dropdown-menu a:hover {
    background: rgba(197, 0, 106, 0.1);
    color: #c5006a;
    transform: none;
    border-color: transparent;
}

.nav-dropdown-menu a:first-child {
    border-radius: 8px 8px 0 0;
}

.nav-dropdown-menu a:last-child {
    border-radius: 0 0 8px 8px;
}

.mobile-nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.mobile-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav a {
    display: block;
    text-align: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== MOBILE NAVBAR GROUPS ===== */
.mobile-nav-group {
    margin-bottom: 15px;
}

.mobile-nav-group:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 15px;
}

.mobile-nav-group-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    padding: 0 5px;
    display: block;
}

.mobile-nav-group-logout {
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    border-bottom: none;
    padding-bottom: 0;
}

/* ===== MAIN CONTENT AREA ===== */
.content {
    padding: 40px;
    min-height: calc(100vh - 200px);
}

.page-title {
    color: #c5006a;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #c5006a, #00bcd4);
    border-radius: 2px;
}

/* ===== CARDS & SECTIONS ===== */
.card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 30px;
    border-bottom: 1px solid #e9ecef;
}

.card-title {
    color: #c5006a;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.card-body {
    padding: 30px;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-control:focus {
    outline: none;
    border-color: #c5006a;
    box-shadow: 0 0 0 3px rgba(197, 0, 106, 0.1);
    transform: translateY(-2px);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #c5006a 0%, #a0005a 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 0, 106, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.btn-info {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    color: white;
}

.btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.3);
}

.btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* ===== LISTS & ITEMS ===== */
.item-list {
    display: grid;
    gap: 20px;
}

.item {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.item-title {
    color: #c5006a;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.item-meta {
    color: #6c757d;
    font-size: 0.9rem;
    white-space: nowrap;
}

.item-content {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #c5006a;
}

.item-contact {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.item-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ===== BADGES & TAGS ===== */
.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 10px;
}

.badge-primary {
    background: #e3f2fd;
    color: #1976d2;
}

.badge-secondary {
    background: #f3e5f5;
    color: #7b1fa2;
}

.badge-success {
    background: #e8f5e8;
    color: #2e7d32;
}

/* ===== EMPTY STATES ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #495057;
}

.empty-state-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* ===== FEEDBACK CONTENT ===== */
#feedback-content {
    color: #333;
    font-size: 16px;
    line-height: 1.7;
}

#feedback-content .feedback-section {
    background-color: #fff;
    border-left: 4px solid #00bcd4;
    border-radius: 0 6px 6px 0;
    margin: 20px 0;
    padding: 15px;
}

#feedback-content blockquote {
    background-color: #fafafa;
    border-left: 4px solid #c5006a;
    color: #666;
    font-style: italic;
    margin: 20px 0;
    padding: 10px 20px;
}

#feedback-content code {
    background-color: #f1f3f4;
    border-radius: 3px;
    color: #c5006a;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    padding: 2px 6px;
}

#feedback-content em,
#feedback-content i {
    color: #555;
    font-style: italic;
}

#feedback-content h1 {
    font-size: 1.6em;
}

#feedback-content h1,
#feedback-content h2,
#feedback-content h3,
#feedback-content h4,
#feedback-content h5,
#feedback-content h6 {
    color: #c5006a;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 25px;
}

#feedback-content h2 {
    font-size: 1.4em;
}

#feedback-content h3 {
    font-size: 1.2em;
}

#feedback-content h4 {
    font-size: 1.1em;
}

#feedback-content hr {
    background: linear-gradient(to right, #c5006a, transparent);
    border: none;
    height: 2px;
    margin: 25px 0;
}

#feedback-content li {
    line-height: 1.6;
    margin-bottom: 8px;
}

#feedback-content p {
    margin-bottom: 15px;
    text-align: justify;
}

#feedback-content pre {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin: 15px 0;
    overflow-x: auto;
    padding: 15px;
}

#feedback-content pre code {
    background: none;
    color: #333;
    padding: 0;
}

#feedback-content strong,
#feedback-content b {
    color: #333;
    font-weight: 600;
}

#feedback-content ul,
#feedback-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .main-content {
        margin: 10px auto;
        border-radius: 8px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .nav {
        display: none;
    }
    
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        border: none;
        margin-top: 10px;
    }
    
    .nav-dropdown-menu a {
        color: white;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .mobile-nav.active {
        display: flex;
    }
    
    .content {
        padding: 20px;
    }
    
    .page-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .item-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .item-title {
        min-width: auto;
    }
    
    .item-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .content {
        padding: 15px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .item {
        padding: 20px;
    }
    
    .form-control {
        padding: 12px 15px;
    }
    
    .btn {
        padding: 12px 20px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.slide-in {
    animation: slideIn 0.4s ease-out;
}

/* ===== LOG STYLES ===== */
.log-sections {
    margin-top: 15px;
}

.log-section {
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.log-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.log-section-header:hover {
    background: #e9ecef;
}

.log-section-header h4 {
    margin: 0;
    color: #495057;
    font-size: 1rem;
    font-weight: 600;
}

.log-content {
    padding: 20px;
    background: #ffffff;
    border-top: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.log-content.collapsed {
    display: none;
}

.log-content pre {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 15px;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-link {
    background: none;
    border: none;
    color: #c5006a;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: #a0005a;
    text-decoration: underline;
}

.toggle-markdown {
    margin-top: 10px;
    font-weight: 500;
}

.markdown-preview {
    margin-bottom: 0;
}

.markdown-full {
    margin-bottom: 0;
}

/* ===== UTILITIES ===== */
.text-center {
    text-align: center;
}

.text-success {
    color: #28a745;
}

.text-danger {
    color: #dc3545;
}

.text-warning {
    color: #ffc107;
}

.text-info {
    color: #17a2b8;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}
/* ===== FEEDBACK CARDS ===== */
.feedback-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feedback-card h3 {
    color: #c5006a;
    margin-bottom: 16px;
    font-size: 1.4em;
}

.feedback-card h4 {
    color: #2c3e50;
    margin-top: 20px;
    margin-bottom: 12px;
    font-size: 1.1em;
    font-weight: 600;
}

/* Rating Display */
.feedback-rating {
    margin-bottom: 24px;
}

.rating-visual {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-stars {
    font-size: 1.8em;
    color: #FFD700;
    letter-spacing: 4px;
}

.rating-bar {
    width: 100%;
    height: 24px;
    background: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(90deg, #c5006a 0%, #ff0080 100%);
    transition: width 0.3s ease;
    border-radius: 12px;
}

/* Feedback Sections */
.feedback-section {
    margin: 20px 0;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #c5006a;
}

.feedback-section h4 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feedback-explanation p {
    line-height: 1.8;
    color: #2c3e50;
}

.feedback-positives {
    background: #e8f5e9;
    border-left-color: #4caf50;
}

.feedback-positives ul {
    list-style: none;
    padding-left: 0;
}

.feedback-positives li:before {
    content: "✓ ";
    color: #4caf50;
    font-weight: bold;
    margin-right: 8px;
}

.feedback-negatives {
    background: #fff3e0;
    border-left-color: #ff9800;
}

.feedback-negatives ul {
    list-style: none;
    padding-left: 0;
}

.feedback-negatives li:before {
    content: "⚠ ";
    color: #ff9800;
    margin-right: 8px;
}

.feedback-notes ul {
    list-style: none;
    padding-left: 0;
}

.feedback-notes li:before {
    content: "• ";
    color: #c5006a;
    font-weight: bold;
    margin-right: 8px;
}

/* Kitchen Call / Headline */
.kitchen-call,
.headline-potential {
    background: #f3e5f5;
    border-left-color: #9c27b0;
}

.kitchen-call-text,
.suggested-headline {
    background: white;
    padding: 16px;
    border-left: 4px solid #c5006a;
    font-style: italic;
    font-size: 1.1em;
    margin: 12px 0;
    border-radius: 4px;
}

.no-kitchen-call,
.no-headline {
    color: #757575;
    font-style: italic;
}

/* Icon Colors */
.icon-green {
    color: #4caf50;
    font-size: 1.2em;
}

.icon-red {
    color: #f44336;
    font-size: 1.2em;
}

/* Persona/Journalist Feedback */
.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e0e0e0;
}

.persona-name {
    color: #c5006a;
    font-size: 1.3em;
    margin: 0;
}

.rating-badge {
    background: linear-gradient(135deg, #c5006a 0%, #ff0080 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.2em;
}

/* Engagement Metrics */
.engagement-metrics {
    background: #e3f2fd;
    border-left-color: #2196f3;
}

.engagement-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.engagement-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: white;
    border-radius: 4px;
}

.engagement-label {
    font-weight: 500;
    color: #2c3e50;
}

.engagement-value {
    font-size: 1.4em;
    font-weight: bold;
}

.engagement-value.positive {
    color: #4caf50;
}

.engagement-value.negative {
    color: #f44336;
}

/* Overview Feedback */
.overview-feedback {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.important-remarks ol {
    counter-reset: item;
    list-style: none;
    padding-left: 0;
}

.important-remarks li {
    counter-increment: item;
    margin-bottom: 12px;
    padding-left: 40px;
    position: relative;
}

.important-remarks li:before {
    content: counter(item);
    background: #c5006a;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
}

.social-media-ideas {
    background: #e8eaf6;
    border-left-color: #3f51b5;
}

.social-media-card {
    background: white;
    padding: 16px;
    margin: 12px 0;
    border-radius: 8px;
    display: flex;
    gap: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-media-number {
    background: #3f51b5;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    flex-shrink: 0;
}

.social-media-content {
    flex: 1;
}

.graphic-idea,
.caption {
    margin-bottom: 12px;
}

.social-caption {
    background: #f5f5f5;
    padding: 12px;
    border-left: 3px solid #3f51b5;
    border-radius: 4px;
    font-style: italic;
    margin-top: 8px;
}

/* Social Media Table */
.social-media-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.social-media-table thead tr {
    background-color: #007bff;
    color: white;
}

.social-media-table th,
.social-media-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
    vertical-align: top;
}

.social-media-table tbody tr {
    background-color: #f9f9f9;
}

.social-media-table tbody tr:nth-child(even) {
    background-color: #ffffff;
}

.social-media-table tbody tr:hover {
    background-color: #f0f8ff;
}

.proposed-revision {
    background: #fff9c4;
    border-left-color: #fbc02d;
}

.revision-text {
    background: white;
    padding: 20px;
    border-radius: 8px;
    line-height: 1.8;
    white-space: pre-wrap;
}

/* Text Feedback (Fallback) */
.text-feedback .feedback-content {
    line-height: 1.8;
    color: #2c3e50;
}

/* Responsive Design for Feedback Cards */
@media (max-width: 768px) {
    .feedback-card {
        padding: 16px;
    }
    
    .feedback-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .rating-badge {
        align-self: flex-end;
    }
    
    .social-media-card {
        flex-direction: column;
    }
    
    .social-media-number {
        align-self: flex-start;
    }

    /* Make table responsive on mobile */
    .social-media-table thead {
        display: none;
    }

    .social-media-table,
    .social-media-table tbody,
    .social-media-table tr,
    .social-media-table td {
        display: block;
        width: 100%;
    }

    .social-media-table tr {
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
    }

    .social-media-table td {
        position: relative;
        padding: 12px 12px 12px 45%;
        text-align: right;
        border: none;
        border-bottom: 1px solid #eee;
    }

    .social-media-table td:last-child {
        border-bottom: none;
    }

    .social-media-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 12px;
        top: 12px;
        font-weight: bold;
        text-align: left;
        color: #007bff;
    }

    /* Adjust rating display for mobile */
    .rating-number {
        font-size: 36px !important;
        min-width: 60px !important;
    }
}
