/* Reset and global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 400;
    background-color: #f5f5f5;
    color: #333;
    overflow-x: hidden;
}

html {
    direction: ltr !important;
}

/* Fixed blurred background - only shown during analysis */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(12px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.background-overlay.active {
    opacity: 1;
    display: block;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100vw;
    position: relative;
    background: #f0f0f0;
    direction: ltr !important;
}

.container.analysis-mode {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    background: transparent !important;
    width: 100vw !important;
    min-height: 100vh !important;
    height: auto !important;
    direction: ltr !important;
    overflow: hidden !important;
    padding: 10px !important;
    gap: 10px !important;
}

.main-content {
    position: relative;
    flex: 1 1 60%;
    max-width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

/* Upload view specific styles */
.upload-view .main-content {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

/* Analysis state adjustments */
.container.analysis-mode .main-content {
    background: transparent !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    order: 2 !important;
}

.sidebar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    flex: 1 1 40%;
    max-width: 40%;
    max-height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: static;
    transform: none;
    transition: none;
    order: 1 !important;
    margin: 0 !important;
    flex-shrink: 0;
}

.sidebar.visible {
    transform: none;
}

/* Ensure Dig Deeper mode fills the sidebar height */
.sidebar.dig-deeper-mode {
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding: 20px !important;
    margin: 0 !important;
    gap: 16px !important;
    height: 100%; /* Ensure it takes full height */
}

/* Adjust the detailed insight card in Dig Deeper mode */
.detailed-insight-card {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border-radius: 12px;
    margin: 0 !important;
    width: 100%;
    box-sizing: border-box;
    flex: 1; /* Make the card grow to fill remaining space */
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Image container for overlaying emojis */
.image-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

/* Emoji overlay styles */
.icon-overlay {
    position: absolute;
    top: 12px; /* Match the padding-top of .street-photo */
    left: 12px; /* Match the padding-left of .street-photo */
    right: 12px; /* Match the padding-right of .street-photo */
    bottom: 12px; /* Match the padding-bottom of .street-photo */
    pointer-events: none;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

/* Emoji styles with tooltip */
.emoji {
    position: absolute;
    font-size: 24px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    pointer-events: auto;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Ensure SVG inside emoji scales correctly */
    contain: content; /* Prevent layout shifts */
}

.emoji svg {
    width: 100%;
    height: 100%;
}

.emoji.highlighted {
    border: 2px solid white;
    border-radius: 50%;
    padding: 2px;
}

/* Tooltip on emoji hover */
.emoji:hover::after {
    content: attr(data-title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Preview section styles */
.preview-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.street-photo {
    width: 100%;
    max-width: 600px;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    background: white;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    display: block !important;
    margin: auto;
}

.street-photo.visible {
    opacity: 1;
}

.analysis-view {
    display: none;
    width: 100%;
    min-height: 100%;
}

.analysis-view.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.insight-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    margin-bottom: 16px;
    cursor: pointer;
}

.overview-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    margin-bottom: 16px;
}

.header-text {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 500;
}

.title {
    font-family: 'Funnel Display', 'Baloo 2', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.subtitle {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: #059669;
    font-size: 14px;
    line-height: 1.4;
}

.insight-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.insight-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
}

/* Tooltip on insight-icon hover */
.insight-icon:hover::after {
    content: attr(data-title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.insight-title {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #1a1a1a;
}

.insight-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tag.comfort { 
    color: #059669; 
    border-color: #d1fae5;
    background-color: #d1fae5;
}

.tag.nature { 
    color: #059669; 
    border-color: #d1fae5;
    background-color: #d1fae5;
}

.tag.belonging { 
    color: #f59e0b; 
    border-color: #fef3c7;
    background-color: #fef3c7;
}

.tag.mobility { 
    color: #dc2626; 
    border-color: #fee2e2;
    background-color: #fee2e2;
}

/* Style the tag symbols (arrows) */
.tag-symbol.positive {
    color: #059669;
}

.tag-symbol.negative {
    color: #dc2626;
}

.tag-symbol.neutral {
    color: #f59e0b;
}

/* Ensure symbol colors take precedence for belonging tags */
.tag.belonging .tag-symbol.positive,
.modal-tag.belonging .tag-symbol.positive {
    color: #059669 !important;
}

.tag.belonging .tag-symbol.negative,
.modal-tag.belonging .tag-symbol.negative {
    color: #dc2626 !important;
}

.tag.belonging .tag-symbol.neutral,
.modal-tag.belonging .tag-symbol.neutral {
    color: #f59e0b !important;
}

.insight-description {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.modal-insight-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.modal-insight-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
}

.modal-insight-icon.green { background-color: #059669; }
.modal-insight-icon.yellow { background-color: #f59e0b; }
.modal-insight-icon.red { background-color: #dc2626; }

.modal-insight-title {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #1a1a1a;
    flex: 1;
}

.modal-insight-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.modal-tag {
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid;
}

.modal-tag.comfort { 
    color: #059669; 
    border-color: #d1fae5;
    background-color: #d1fae5;
}

.modal-tag.nature { 
    color: #059669; 
    border-color: #d1fae5;
    background-color: #d1fae5;
}

.modal-tag.belonging { 
    color: #f59e0b; 
    border-color: #fef3c7;
    background-color: #fef3c7;
}

.modal-tag.mobility { 
    color: #dc2626; 
    border-color: #fee2e2;
    background-color: #fee2e2;
}

.detailed-description {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    color: #374151;
    font-size: 16px;
    line-height: 1.6;
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 120px;
}

.btn-secondary {
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background-color: #e5e7eb;
}

.btn-dig-deeper {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    transition: background-color 0.2s ease;
}

.btn-dig-deeper:hover {
    background-color: #a7f3d0;
}

.btn-dig-deeper:focus {
    outline: 2px solid #a7f3d0;
    outline-offset: 2px;
}

.btn-back {
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    margin-bottom: 16px !important;
    margin-top: 0 !important;
    width: 100%;
    max-width: none;
    transition: all 0.2s ease; /* Smooth transition for hover effects */
}

.btn-back:hover {
    background-color: #e5e7eb;
    transform: scale(1.02); /* Subtle scale effect on hover */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Add a slight shadow */
}

/* Upload styles */
.upload-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 40px 20px;
    border: none;
    border-radius: 0;
    max-width: none;
    text-align: center;
    box-shadow: none;
    min-height: 100vh;
    width: 100%;
}

.upload-view.hidden {
    display: none;
}

.photo-upload-area {
    text-align: center;
    padding: 60px 40px;
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    margin-bottom: 24px;
}

.camera-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #9ca3af;
}

.upload-title {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.upload-subtitle {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.upload-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}

.btn-upload {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    min-height: 44px;
}

.btn-take-photo {
    background-color: #059669;
    color: white;
}

.btn-take-photo:hover {
    background-color: #047857;
}

.btn-upload-photo {
    background-color: white;
    color: #374151;
    border: 1px solid #d1d5db;
    position: relative;
}

.btn-upload-photo:hover {
    background-color: #f9fafb;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.image-preview {
    margin: 20px 0;
    text-align: center;
}

.image-preview img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.btn-continue {
    width: 100%;
    max-width: 500px;
    padding: 12px;
    background-color: #a7f3d0;
    color: #065f46;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 44px;
}

.btn-continue:hover {
    background-color: #86efac;
}

.btn-continue:disabled {
    background-color: #d1d5db;
    cursor: not-allowed;
    color: #9ca3af;
}

/* Feedback Modal */
.modal {
    background: white;
    border-radius: 12px;
    padding: 32px;
    width: 90%;
    max-width: 480px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-title {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 8px;
}

.modal-subtitle {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    color: #6b7280;
    text-align: center;
    margin-bottom: 24px;
    font-size: 14px;
}

.star-rating {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.star {
    font-size: 32px;
    color: #e5e7eb;
    cursor: pointer;
    transition: color 0.2s;
}

.star:hover,
.star.active {
    color: #fbbf24;
}

.feedback-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 24px;
}

.feedback-textarea::placeholder {
    color: #9ca3af;
}

.modal-buttons {
    display: flex;
    gap: 12px;
}

/* Media Query for Large Screens (e.g., >1200px) */
@media (min-width: 1201px) {
    .container.analysis-mode {
        padding: 20px !important;
        gap: 20px !important;
    }

    .main-content {
        flex: 1 1 65%;
        max-width: 65%;
    }

    .sidebar {
        flex: 1 1 35%;
        max-width: 35%;
        padding: 25px;
    }

    .image-container {
        max-width: 700px;
    }

    .street-photo {
        max-width: 700px;
        max-height: 85vh;
        padding: 15px;
    }

    .icon-overlay {
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
    }

    .emoji {
        font-size: 28px;
        width: 36px;
        height: 36px;
    }

    .detailed-insight-card {
        padding: 24px;
    }

    .modal-insight-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .modal-insight-title {
        font-size: 24px;
        font-weight: 700;
    }

    .modal-insight-tags {
        margin-bottom: 20px;
    }

    .modal-tag {
        padding: 8px 14px;
        font-size: 16px;
    }

    .detailed-description {
        font-size: 18px;
        line-height: 1.7;
    }
}

/* Media Query for Medium Screens (e.g., 769px to 1200px) */
@media (max-width: 1200px) {
    .main-content {
        flex: 1 1 60%;
        max-width: 60%;
    }

    .sidebar {
        flex: 1 1 40%;
        max-width: 40%;
        padding: 15px;
    }

    .image-container {
        max-width: 500px;
    }

    .street-photo {
        max-width: 500px;
        max-height: 75vh;
        padding: 10px;
    }

    .icon-overlay {
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .emoji {
        font-size: 22px;
        width: 30px;
        height: 30px;
    }

    .title {
        font-size: 22px;
    }

    .subtitle {
        font-size: 13px;
    }

    .insight-title {
        font-size: 15px;
    }

    .insight-description {
        font-size: 13px;
    }

    .detailed-insight-card {
        padding: 20px;
    }

    .modal-insight-title {
        font-size: 22px;
    }

    .modal-insight-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .modal-tag {
        padding: 6px 12px;
        font-size: 14px;
    }

    .detailed-description {
        font-size: 16px;
        line-height: 1.6;
    }
}

/* Media Query for Small Screens (e.g., 481px to 768px) */
@media (max-width: 768px) {
    .container.analysis-mode {
        flex-direction: row !important;
        padding: 8px !important;
        gap: 8px !important;
    }

    .main-content {
        flex: 1 1 55%;
        max-width: 55%;
    }

    .sidebar {
        flex: 1 1 45%;
        max-width: 45%;
        padding: 12px;
    }

    .image-container {
        max-width: 100%;
    }

    .street-photo {
        max-width: 100%;
        max-height: 70vh;
        padding: 8px;
    }

    .icon-overlay {
        top: 8px;
        left: 8px;
        right: 8px;
        bottom: 8px;
    }

    .emoji {
        font-size: 20px;
        width: 28px;
        height: 28px;
    }

    .title {
        font-size: 18px;
    }

    .subtitle {
        font-size: 12px;
    }

    .insight-title {
        font-size: 14px;
    }

    .insight-description {
        font-size: 12px;
    }

    .insight-card {
        padding: 15px;
    }

    .btn {
        padding: 8px 12px;
        font-size: 13px;
        min-height: 40px;
        min-width: 100px;
    }

    .action-buttons {
        gap: 8px;
    }

    .detailed-insight-card {
        padding: 16px;
    }

    .modal-insight-title {
        font-size: 20px;
    }

    .modal-insight-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .modal-tag {
        padding: 5px 10px;
        font-size: 13px;
    }

    .detailed-description {
        font-size: 14px;
        line-height: 1.5;
    }

    .image-preview img {
        max-width: 300px;
        height: 180px;
    }

    .photo-upload-area {
        padding: 40px 20px;
    }
}

/* Media Query for Very Small Screens (e.g., 321px to 480px) */
@media (max-width: 480px) {
    .container.analysis-mode {
        flex-direction: row !important;
        padding: 5px !important;
        gap: 5px !important;
    }

    .main-content {
        flex: 1 1 50%;
        max-width: 50%;
    }

    .sidebar {
        flex: 1 1 50%;
        max-width: 50%;
        padding: 10px;
    }

    .image-container {
        max-width: 100%;
    }

    .street-photo {
        max-width: 100%;
        max-height: 60vh;
        padding: 5px;
    }

    .icon-overlay {
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
    }

    .emoji {
        font-size: 18px;
        width: 24px;
        height: 24px;
    }

    .title {
        font-size: 16px;
    }

    .subtitle {
        font-size: 11px;
    }

    .insight-title {
        font-size: 13px;
    }

    .insight-description {
        font-size: 11px;
    }

    .insight-card {
        padding: 12px;
    }

    .btn {
        padding: 6px 10px;
        font-size: 12px;
        min-height: 36px;
        min-width: 0;
        flex: 1;
    }

    .action-buttons {
        gap: 6px;
        flex-direction: column;
    }

    .detailed-insight-card {
        padding: 14px;
    }

    .modal-insight-title {
        font-size: 18px;
    }

    .modal-insight-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .modal-tag {
        padding: 4px 8px;
        font-size: 12px;
    }

    .detailed-description {
        font-size: 13px;
        line-height: 1.5;
    }

    .image-preview img {
        max-width: 250px;
        height: 150px;
    }

    .photo-upload-area {
        padding: 30px 15px;
    }

    .modal {
        padding: 20px;
    }

    .modal-title {
        font-size: 16px;
    }

    .modal-subtitle {
        font-size: 12px;
    }

    .star {
        font-size: 24px;
    }
}

/* Media Query for Extra Small Screens (e.g., ≤320px) */
@media (max-width: 320px) {
    .container.analysis-mode {
        flex-direction: row !important;
        padding: 3px !important;
        gap: 3px !important;
    }

    .main-content {
        flex: 1 1 50%;
        max-width: 50%;
    }

    .sidebar {
        flex: 1 1 50%;
        max-width: 50%;
        padding: 8px;
    }

    .image-container {
        max-width: 100%;
    }

    .street-photo {
        max-width: 100%;
        max-height: 50vh;
        padding: 3px;
    }

    .icon-overlay {
        top: 3px;
        left: 3px;
        right: 3px;
        bottom: 3px;
    }

    .emoji {
        font-size: 16px;
        width: 20px;
        height: 20px;
    }

    .title {
        font-size: 14px;
    }

    .subtitle {
        font-size: 10px;
    }

    .insight-title {
        font-size: 12px;
    }

    .insight-description {
        font-size: 10px;
    }

    .insight-card {
        padding: 10px;
    }

    .btn {
        padding: 5px 8px;
        font-size: 11px;
        min-height: 32px;
        min-width: 0;
        flex: 1;
    }

    .action-buttons {
        gap: 5px;
        flex-direction: column;
    }

    .detailed-insight-card {
        padding: 12px;
    }

    .modal-insight-title {
        font-size: 16px;
    }

    .modal-insight-icon {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .modal-tag {
        padding: 3px 6px;
        font-size: 11px;
    }

    .detailed-description {
        font-size: 12px;
        line-height: 1.4;
    }

    .image-preview img {
        max-width: 200px;
        height: 120px;
    }

    .photo-upload-area {
        padding: 20px 10px;
    }

    .modal {
        padding: 16px;
    }

    .modal-title {
        font-size: 14px;
    }

    .modal-subtitle {
        font-size: 11px;
    }

    .star {
        font-size: 20px;
    }

    .feedback-textarea {
        min-height: 80px;
    }
}