/* SINCAR - Sell Page Redesign */

/* ===== 차량 조회 섹션 (Redesigned) ===== */
.lookup-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 40px 20px;
    background: #ffffff;
}

.lookup-container {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.main-hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 60px;
    letter-spacing: -1.5px;
    line-height: 1.3;
    word-break: keep-all;
}

.lookup-form-wrapper {
    margin-bottom: 40px;
}

.lookup-input-group {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 3px solid #2563eb;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
}

.lookup-input-group:focus-within {
    box-shadow: 0 12px 48px rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

.hero-input {
    flex: 1;
    border: none;
    background: transparent;
    height: 72px;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    padding: 0 24px;
    min-width: 0;
    text-align: center;
}

.hero-input:focus {
    outline: none;
}

.hero-input::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

.vertical-divider {
    width: 1px;
    height: 40px;
    background: #e5e7eb;
    margin: 0 8px;
}

.btn-hero-lookup {
    flex-shrink: 0;
    background: #ff4d4f;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    height: 72px;
    padding: 0 48px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-hero-lookup:hover {
    background: #ff7875;
    transform: translateY(-1px);
}

.btn-hero-lookup:active {
    transform: translateY(0);
}

.lookup-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.link-btn {
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #6c757d;
    text-decoration: none;
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s;
}

.link-btn:hover {
    color: #1a1a1a;
    text-decoration: underline;
}

.link-divider {
    color: #dee2e6;
    font-size: 14px;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .main-hero-title {
        font-size: 32px;
        margin-bottom: 40px;
        word-break: keep-all;
    }

    .lookup-input-group {
        flex-direction: column;
        border-width: 2px;
        padding: 20px;
        gap: 0;
        align-items: stretch;
        height: auto;
    }

    .vertical-divider {
        display: none;
    }

    .hero-input {
        height: 72px;
        font-size: 18px;
        border-bottom: 1px solid #e5e7eb;
        border-radius: 0;
        text-align: center;
        padding: 10px 0;
        margin-bottom: 12px;
    }

    .hero-input:last-of-type {
        border-bottom: none;
        margin-bottom: 24px;
    }

    .btn-hero-lookup {
        height: 56px;
        font-size: 18px;
        width: 100%;
        margin-top: 0;
        border-radius: 8px;
    }

    .lookup-section {
        padding: 20px;
        align-items: flex-start;
        padding-top: 60px;
    }
}

/* 기존 스타일 (필요한 것만 유지) */
.lookup-card,
.lookup-icon,
.lookup-title,
.lookup-description,
.lookup-field,
.lookup-divider,
.btn-lookup,
.btn-manual {
    display: none;
}

/* ===== 조회된 차량 정보 요약 ===== */
.car-info-summary {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #bae6fd;
    border-radius: 16px;
    padding: 24px;
    margin: 48px 48px 24px;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.summary-title {
    font-size: 16px;
    font-weight: 700;
    color: #0369a1;
    margin: 0;
}

.btn-text {
    background: none;
    border: none;
    color: #0284c7;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.btn-text:hover {
    color: #0369a1;
}

.summary-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.summary-value {
    font-size: 15px;
    color: #1e293b;
    font-weight: 600;
}

/* ===== 반응형 ===== */
@media (max-width: 640px) {
    .lookup-card {
        padding: 32px 24px;
    }

    .lookup-title {
        font-size: 24px;
    }

    .car-info-summary {
        margin: 0 16px 16px;
        padding: 16px;
    }

    .summary-content {
        grid-template-columns: 1fr;
    }
}

.sell-page {
    min-height: calc(100vh - 120px);
}

.page-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 45px 32px 80px;
}

.page-header {
    text-align: left;
    margin-bottom: 48px;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #2563eb;
    /* color:#1976d2 */
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.15);
}

.badge-text {
    letter-spacing: 0.5px;
}

.page-title {
    font-size: 40px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.page-subtitle {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.6;
}

.highlight {
    color: #2563eb;
    font-weight: 600;
}

.form-wrapper {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 32px;
}

.sell-form {
    padding: 48px;
}

.form-section {
    margin-bottom: 48px;
}

.form-section:last-child {
    margin-bottom: 0;
}

.section-title {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    grid-column: span 6;
}

.form-group.full-width,
.form-group--full {
    grid-column: 1 / span 12;
}

.form-group.half-width {
    grid-column: span 6;
}

.form-group.third-width {
    grid-column: span 4;
}

.form-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.form-label-row .form-label {
    margin-bottom: 0;
}

.checkbox-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    user-select: none;
}

.checkbox-inline input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #2563eb;
    cursor: pointer;
}

.checkbox-inline span {
    line-height: 1;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.required {
    color: #ff4757;
    font-size: 16px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 15px;
    color: #212529;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #fafbfc;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: #dee2e6;
    background: #ffffff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(25, 118, 210, 0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #adb5bd;
}

.form-input--inline {
    display: none;
    margin-top: 10px;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.textarea-counter {
    text-align: right;
    font-size: 13px;
    color: #adb5bd;
    margin-top: 8px;
}

.textarea-counter .current {
    color: #2563eb;
    font-weight: 600;
}

.radio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.radio-grid--compact {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.radio-grid--inline {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.radio-grid--3col {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .radio-grid--3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .radio-grid--3col {
        grid-template-columns: 1fr;
    }
}

.radio-card {
    position: relative;
    cursor: pointer;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: #fafbfc;
    transition: all 0.3s ease;
    text-align: left;
}

.radio-card:hover .radio-content {
    border-color: #2563eb;
    background: #f8fbff;
}

.radio-card input[type="radio"]:checked+.radio-content {
    border-color: #2563eb;
    background: linear-gradient(135deg, #e3f2fd 0%, #f8fbff 100%);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.15);
}

.radio-text {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}

.radio-card input[type="radio"]:checked+.radio-content .radio-text {
    color: #2563eb;
}

@media (max-width: 1024px) {
    .form-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .form-group,
    .form-group.half-width,
    .form-group.third-width {
        grid-column: span 6;
    }
}

@media (max-width: 640px) {
    .sell-form {
        padding: 32px 20px;
    }

    .form-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }

    .form-group,
    .form-group.full-width,
    .form-group.half-width,
    .form-group.third-width {
        grid-column: span 1;
    }
}

#installment_wrap {
    display: none;
}

#purchase_timing_wrap {
    display: none;
}

.form-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6c757d;
    margin-top: 10px;
    padding: 10px 14px;
    background: #f8f9fa;
    border-radius: 8px;
    line-height: 1.5;
}

.form-hint svg {
    flex-shrink: 0;
    color: #2563eb;
}

.car-damage-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.car-svg-canvas {
    position: relative;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-svg {
    width: 90%;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    height: auto;
}

.car-svg .car-all {
    position: relative;
}

.car-svg .car-all,
.car-svg .car-all * {
    pointer-events: none;
}

.car-svg .car-all svg {
    width: 100%;
    height: auto;
    display: block;
}

.car-svg .car-parts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    pointer-events: none !important;
}

.car-svg .car-parts svg {
    width: 100%;
    height: auto;
    pointer-events: none !important;
}

.car-svg .car-parts svg * {
    pointer-events: all;
    cursor: pointer;
}

.car-svg .car-parts .st0 {
    fill: #909bad;
    transition: fill 0.2s ease, stroke 0.2s ease;
}

.car-svg [data-part].is-selected .st0 {
    fill: #1f6feb !important;
    stroke: #1f6feb !important;
}

.car-svg [data-part].is-selected .st1 {
    fill: #d1e4ff !important;
    stroke: #d1e4ff !important;
}

.car-svg path:focus {
    outline: none;
}

.diagram-hint {
    margin-top: 20px;
    font-size: 14px;
    color: #6c757d;
}

.accident-selected {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.accident-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid #dce1e7;
    background: #f1f5f9;
    font-size: 13px;
}

.accident-chip button {
    border: 0;
    background: transparent;
    cursor: pointer;
    color: #64748b;
    font-size: 14px;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.field-error {
    margin-top: 6px;
    font-size: 12px;
    color: #b00020;
}

.group-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.08);
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.12);
}

#model_wrap select[disabled] {
    pointer-events: none;
    background-color: #f9fafb;
    color: #9ca3af;
}

.file-upload-zone {
    border: 2px dashed #dee2e6;
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.file-upload-zone:hover {
    border-color: #2563eb;
    background: #f8fbff;
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.upload-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
}

.upload-title {
    font-size: 18px;
    font-weight: 700;
    color: #212529;
}

.upload-description {
    font-size: 14px;
    color: #6c757d;
}

.btn-file-select {
    padding: 12px 32px;
    background: #ffffff;
    color: #2563eb;
    border: 2px solid #2563eb;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-file-select:hover {
    background: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.uploader-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.uploader-grid.is-dragover {
    border-radius: 12px;
    border: 2px dashed #2563eb;
    padding: 16px;
    background: rgba(25, 118, 210, 0.05);
}

.uploader-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
}

.uploader-thumbs>* {
    list-style: none;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.uploader-thumbs img {
    display: block;
    width: 100%;
    height: auto;
}

#fm-template-file,
#fm-template-image {
    display: none;
}

.fm-file-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.agreement-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px 24px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: #ffffff;
}

.checkbox-input:checked+.checkbox-custom {
    background: #2563eb;
    border-color: #2563eb;
}

.checkbox-input:checked+.checkbox-custom::after {
    content: '✓';
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.checkbox-text {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
}

.link-detail {
    color: #2563eb;
    text-decoration: underline;
    margin-left: 6px;
}

.form-actions {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.btn {
    flex: 1;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary {
    background: #f8f9fa;
    color: #6c757d;
    border: 2px solid #dee2e6;
}

.btn-secondary:hover {
    border-color: #adb5bd;
}

.btn-primary {
    background: #2563eb;
    color: #ffffff;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.support-card {
    background: linear-gradient(135deg, #2563eb 0%, #1557b0 100%);
    border-radius: 20px;
    padding: 40px;
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(25, 118, 210, 0.3);
}

.support-content {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
}

.support-icon {
    flex-shrink: 0;
}

.support-text {
    flex: 1;
}

.support-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.support-description {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 16px;
}

.support-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    opacity: 0.85;
}

.info-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
}

.info-divider {
    opacity: 0.5;
}

.support-actions {
    display: flex;
    gap: 12px;
}

.btn-support {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid #ffffff;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-support:hover {
    background: #ffffff;
    color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .sell-page {
        padding: 20px 0 60px;
    }

    .page-container {
        padding: 40px 16px 60px;
    }

    .page-title {
        font-size: 32px;
    }

    .sell-form {
        padding: 32px 24px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .radio-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .support-content {
        flex-direction: column;
        text-align: center;
    }

    .support-actions {
        flex-direction: column;
    }

    .support-info {
        flex-direction: column;
        gap: 8px;
    }

    .info-divider {
        display: none;
    }

    .uploader-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .uploader-thumbs {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 28px;
    }

    .page-subtitle {
        font-size: 14px;
    }

    .header-badge {
        font-size: 12px;
        padding: 8px 16px;
    }

    .sell-form {
        padding: 24px 16px;
    }

    .section-title {
        font-size: 18px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    .radio-content {
        padding: 14px 12px;
    }

    .radio-text {
        font-size: 13px;
    }

    .car-damage-wrapper {
        padding: 24px 16px;
    }

    .support-card {
        padding: 24px 16px;
    }

    .support-title {
        font-size: 18px;
    }

    .btn {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* ===== 가격 필드 스타일 ===== */
.price-fields-wrap {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    margin-top: 16px;
}

.price-fields-wrap>.form-label {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    display: block;
}

.price-fields-wrap .form-grid {
    gap: 16px;
}

.price-field {
    transition: all 0.3s ease;
}

.price-field .form-label {
    font-size: 14px;
    margin-bottom: 6px;
}

.price-field .required-marker {
    color: #dc2626;
    margin-left: 2px;
}

.price-field .required-marker::after {
    content: '*';
}

.input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-group .form-input {
    flex: 1;
}

.input-suffix {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    white-space: nowrap;
}

.price-field .form-hint {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
    padding: 0;
    background: transparent;
}

/* ===== 사진 업로드 아이템 ===== */
.photo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.photo-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.photo-item .drag-handle {
    cursor: grab;
    color: #94a3b8;
    font-size: 16px;
    padding: 4px;
    user-select: none;
}

.photo-item .drag-handle:active {
    cursor: grabbing;
}

.photo-item .photo-thumb-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.photo-item .photo-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.photo-item .photo-name {
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.photo-item .photo-size {
    font-size: 12px;
    color: #94a3b8;
}

.photo-item .btn-remove-photo {
    padding: 6px 12px;
    background: #fee2e2;
    color: #dc2626;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.photo-item .btn-remove-photo:hover {
    background: #fecaca;
}

#photoContainer {
    margin-top: 16px;
}

#photoContainer:empty {
    display: none;
}