/* Google Ads Steps Guide - Styles with Blue, Pink, and White Theme */

/* CSS Variables for Color Scheme */
:root {
    --primary-blue: #2196F3;
    --dark-blue: #1976D2;
    --light-blue: #64B5F6;
    --very-light-blue: #E3F2FD;
    --primary-pink: #E91E63;
    --dark-pink: #C2185B;
    --light-pink: #F06292;
    --very-light-pink: #FCE4EC;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --text-dark: #2C3E50;
    --text-light: #607D8B;
    --border-color: #E0E0E0;
    --shadow: rgba(0, 0, 0, 0.1);
    --gradient-blue-pink: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-pink) 100%);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--very-light-blue) 0%, var(--very-light-pink) 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: var(--gradient-blue-pink);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    box-shadow: 0 4px 6px var(--shadow);
    border-bottom: 4px solid var(--primary-pink);
}

header h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.subtitle {
    font-size: 1.3em;
    font-weight: 300;
    opacity: 0.95;
}

/* Navigation */
.navigation {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 4px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-btn {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px var(--shadow);
}

.nav-btn:hover {
    background: linear-gradient(135deg, var(--light-pink) 0%, var(--primary-pink) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow);
}

.nav-btn.active {
    background: var(--gradient-blue-pink);
    box-shadow: 0 4px 8px rgba(233, 30, 99, 0.3);
}

/* Main Content */
main {
    padding: 40px 0;
}

/* Ad Sections */
.ad-section {
    display: none;
}

.ad-section.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px var(--shadow);
    border-left: 6px solid var(--primary-pink);
}

.section-header h2 {
    color: var(--dark-blue);
    font-size: 2.2em;
    margin-bottom: 15px;
}

.section-description {
    color: var(--text-light);
    font-size: 1.15em;
    line-height: 1.8;
}

/* Steps Container */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Step Cards */
.step-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step-card:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.3);
    border-color: var(--primary-blue);
}

.step-number {
    background: var(--gradient-blue-pink);
    color: var(--white);
    padding: 15px 30px;
    font-size: 1.3em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-content {
    padding: 25px 30px;
}

.step-content h3 {
    color: var(--dark-pink);
    font-size: 1.5em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--very-light-blue);
}

.step-content ul {
    margin-left: 20px;
    margin-top: 15px;
}

.step-content li {
    margin-bottom: 12px;
    line-height: 1.8;
    color: var(--text-dark);
}

.step-content li strong {
    color: var(--dark-blue);
    font-weight: 600;
}

.step-content ul ul {
    margin-top: 8px;
    margin-left: 20px;
}

.step-content ul ul li {
    margin-bottom: 6px;
    font-size: 0.95em;
}

/* Example Boxes */
.example-box {
    background: linear-gradient(135deg, var(--very-light-blue) 0%, var(--very-light-pink) 100%);
    border-left: 4px solid var(--primary-pink);
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.example-box h4 {
    color: var(--dark-pink);
    margin-bottom: 12px;
    font-size: 1.2em;
}

.example-box p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.example-box ul {
    margin-left: 20px;
    margin-top: 10px;
}

.example-box li {
    margin-bottom: 6px;
}

/* Ad Preview Styles */
.ad-preview {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.ad-headline {
    color: #1A73E8;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.ad-url {
    color: var(--primary-blue);
    font-size: 0.9em;
    margin-bottom: 8px;
}

.ad-description {
    color: var(--text-dark);
    font-size: 1em;
    line-height: 1.6;
}

/* Display Ad Preview */
.display-ad-preview {
    background: var(--white);
    border: 3px solid var(--primary-blue);
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    text-align: center;
}

.display-image {
    background: var(--gradient-blue-pink);
    color: var(--white);
    padding: 60px 20px;
    border-radius: 8px;
    font-size: 3em;
    margin-bottom: 15px;
}

.display-text h4 {
    color: var(--dark-blue);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.display-text p {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.cta-btn {
    background: var(--gradient-blue-pink);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
}

/* Product Feed Example */
.product-feed {
    background: var(--white);
    border: 2px solid var(--light-blue);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.product-feed p {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.product-feed p:last-child {
    border-bottom: none;
}

/* Cost Calculator */
.cost-calculator {
    background: linear-gradient(135deg, var(--very-light-pink) 0%, var(--very-light-blue) 100%);
    border: 3px solid var(--primary-pink);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.cost-calculator h4 {
    color: var(--dark-pink);
    font-size: 1.3em;
    margin-bottom: 15px;
    text-align: center;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.cost-item span:first-child {
    color: var(--text-dark);
    font-weight: 600;
}

.amount {
    color: var(--primary-pink);
    font-weight: bold;
    font-size: 1.1em;
}

/* Comparison Section */
.comparison-section {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 8px var(--shadow);
}

.comparison-section h2 {
    color: var(--dark-blue);
    font-size: 2em;
    margin-bottom: 25px;
    text-align: center;
}

.comparison-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

thead {
    background: var(--gradient-blue-pink);
    color: var(--white);
}

th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1em;
}

tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

tbody tr:hover {
    background: var(--very-light-blue);
    transform: scale(1.02);
}

td {
    padding: 15px;
    color: var(--text-dark);
}

tbody tr:nth-child(even) {
    background: var(--off-white);
}

/* Tips Section */
.tips-section {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 30px;
    margin: 30px 0;
    box-shadow: 0 4px 8px var(--shadow);
}

.tips-section h2 {
    color: var(--dark-blue);
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.tip-card {
    background: linear-gradient(135deg, var(--very-light-blue) 0%, var(--white) 100%);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.3);
    border-color: var(--primary-pink);
}

.tip-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.tip-card h3 {
    color: var(--dark-pink);
    font-size: 1.3em;
    margin-bottom: 12px;
}

.tip-card p {
    color: var(--text-dark);
    line-height: 1.7;
}

/* Footer */
footer {
    background: var(--gradient-blue-pink);
    color: var(--white);
    text-align: center;
    padding: 25px;
    margin-top: 40px;
    border-top: 4px solid var(--primary-pink);
}

footer p {
    margin-bottom: 5px;
    opacity: 0.95;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    .subtitle {
        font-size: 1.1em;
    }

    .nav-buttons {
        flex-direction: column;
    }

    .nav-btn {
        width: 100%;
    }

    .section-header h2 {
        font-size: 1.7em;
    }

    .step-card:hover {
        transform: translateX(5px);
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 0.9em;
    }

    th, td {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }

    .section-header {
        padding: 20px;
    }

    .step-content {
        padding: 20px;
    }

    .cost-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-card {
    animation: slideIn 0.5s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {
    body {
        background: white;
    }

    .navigation,
    footer {
        display: none;
    }

    .step-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .ad-section {
        display: block !important;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Utility Classes */
.text-blue {
    color: var(--primary-blue);
}

.text-pink {
    color: var(--primary-pink);
}

.bg-blue {
    background-color: var(--primary-blue);
}

.bg-pink {
    background-color: var(--primary-pink);
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-blue-pink);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-pink);
}
/* ========================================
   COMMENT SECTION STYLES
   Color Scheme: Blue, Green, White
   ======================================== */

/* Comment Section Container */
.comments-section {
    background: linear-gradient(135deg, #E3F2FD 0%, #FFFFFF 100%);
    border-radius: 15px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #1E88E5;
    border-bottom: 5px solid #43A047;
}

.comments-container {
    max-width: 1000px;
    margin: 0 auto;
}

.comments-title {
    color: #1565C0;
    font-size: 2.2em;
    margin-bottom: 10px;
    font-weight: 700;
    text-align: center;
}

.comments-subtitle {
    color: #546E7A;
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
}

/* Comment Form Container */
.comment-form-container {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #43A047;
}

.comment-form-container h3 {
    color: #1565C0;
    font-size: 1.6em;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Form Styles */
.comment-form,
.reply-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #263238;
    font-weight: 600;
    font-size: 1em;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #CFD8DC;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #FFFFFF;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1E88E5;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    color: #78909C;
    font-size: 0.85em;
    margin-top: -5px;
}

.character-count {
    text-align: right;
    font-weight: 500;
}

/* Form Buttons */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.btn-submit,
.btn-reset {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-submit {
    background: linear-gradient(135deg, #43A047 0%, #2E7D32 100%);
    color: #FFFFFF;
    flex: 1;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 160, 71, 0.3);
}

.btn-reset {
    background: linear-gradient(135deg, #CFD8DC 0%, #B0BEC5 100%);
    color: #263238;
}

.btn-reset:hover {
    background: linear-gradient(135deg, #B0BEC5 0%, #90A4AE 100%);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.2em;
}

/* Comments Display Section */
.comments-display {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #E3F2FD;
    flex-wrap: wrap;
    gap: 15px;
}

.comments-header h3 {
    color: #1565C0;
    font-size: 1.6em;
    font-weight: 600;
}

.comment-count {
    background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
    color: #FFFFFF;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8em;
    margin-left: 10px;
}

/* Sort Options */
.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-options label {
    color: #546E7A;
    font-weight: 500;
}

.sort-select {
    padding: 8px 15px;
    border: 2px solid #CFD8DC;
    border-radius: 8px;
    background: #FFFFFF;
    color: #263238;
    cursor: pointer;
    font-size: 0.95em;
    transition: all 0.3s ease;
}

.sort-select:focus {
    outline: none;
    border-color: #1E88E5;
}

/* Comments List */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* No Comments State */
.no-comments {
    text-align: center;
    padding: 60px 20px;
    color: #78909C;
}

.no-comments-icon {
    font-size: 4em;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-comments p {
    font-size: 1.1em;
}

/* Individual Comment Card */
.comment-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    border: 2px solid #E8F5E9;
    border-left: 5px solid #43A047;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    animation: slideIn 0.4s ease-out;
}

.comment-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Comment Header */
.comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.comment-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    box-shadow: 0 2px 8px rgba(30, 136, 229, 0.3);
}

.comment-author {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.comment-name {
    color: #1565C0;
    font-weight: 600;
    font-size: 1.1em;
}

.comment-date {
    color: #78909C;
    font-size: 0.85em;
}

/* Comment Actions */
.comment-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    background: #E3F2FD;
    border: 1px solid #1E88E5;
    color: #1565C0;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85em;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.action-btn:hover {
    background: #1E88E5;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.action-btn.liked {
    background: #43A047;
    color: #FFFFFF;
    border-color: #2E7D32;
}

.action-btn.disliked {
    background: #E53935;
    color: #FFFFFF;
    border-color: #C62828;
}

.action-btn.delete-btn {
    background: #FFEBEE;
    border-color: #E53935;
    color: #C62828;
}

.action-btn.delete-btn:hover {
    background: #E53935;
    color: #FFFFFF;
}

/* Comment Content */
.comment-content {
    color: #263238;
    line-height: 1.7;
    font-size: 1.05em;
    margin-bottom: 15px;
    padding-left: 60px;
}

/* Comment Footer */
.comment-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 60px;
    flex-wrap: wrap;
}

.like-dislike-container {
    display: flex;
    gap: 15px;
}

.like-count,
.dislike-count {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #546E7A;
    font-weight: 600;
}

/* Replies Section */
.replies-section {
    margin-top: 20px;
    padding-left: 60px;
    border-left: 3px solid #E3F2FD;
}

.reply-card {
    background: #F8F9FA;
    border: 2px solid #E3F2FD;
    border-left: 4px solid #1E88E5;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
}

.reply-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.reply-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reply-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #43A047 0%, #2E7D32 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1em;
}

.reply-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reply-name {
    color: #43A047;
    font-weight: 600;
    font-size: 1em;
}

.reply-date {
    color: #78909C;
    font-size: 0.8em;
}

.reply-content {
    color: #263238;
    line-height: 1.6;
    font-size: 0.95em;
}

/* Reply Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: #FFFFFF;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
    color: #FFFFFF;
    padding: 20px 25px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.4em;
}

.modal-close {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 2em;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 25px;
}

.reply-to-preview {
    background: #E8F5E9;
    border-left: 4px solid #43A047;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.reply-to-preview strong {
    color: #2E7D32;
    display: block;
    margin-bottom: 8px;
}

.reply-to-preview p {
    color: #263238;
    font-style: italic;
    margin: 0;
}

/* Success/Error Messages */
.message-alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
}

.message-alert.success {
    background: #C8E6C9;
    color: #1B5E20;
    border-left: 4px solid #43A047;
}

.message-alert.error {
    background: #FFCDD2;
    color: #C62828;
    border-left: 4px solid #E53935;
}

/* Responsive Design */
@media (max-width: 768px) {
    .comments-section {
        padding: 25px 15px;
    }

    .comment-form-container,
    .comments-display {
        padding: 20px;
    }

    .comments-title {
        font-size: 1.8em;
    }

    .comments-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-submit,
    .btn-reset {
        width: 100%;
        justify-content: center;
    }

    .comment-content,
    .comment-footer,
    .replies-section {
        padding-left: 0;
    }

    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .modal-content {
        width: 95%;
        margin: 10px;
    }
}

/* Print Styles */
@media print {
    .comment-form-container,
    .action-btn,
    .modal {
        display: none;
    }

    .comment-card,
    .reply-card {
        page-break-inside: avoid;
    }
}

/* Loading State */
.loading {
    text-align: center;
    padding: 40px;
    color: #78909C;
}

.loading::after {
    content: "Loading comments...";
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}