.vcc-app {
    max-width: 980px;
    margin: 24px auto;
    font-family: Arial, Helvetica, sans-serif;
    color: #132033;
}

.vcc-card {
    background: #ffffff;
    border: 1px solid #e0e5ee;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    padding: 22px;
}

.vcc-header h3 {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.2;
}

.vcc-header p {
    margin: 0 0 20px;
    color: #596579;
    font-size: 15px;
}

.vcc-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.15fr) minmax(260px, 0.85fr);
    gap: 20px;
    align-items: start;
}

.vcc-camera-box,
.vcc-notes-box {
    min-width: 0;
}

.vcc-preview-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f4f7fb;
    border: 2px dashed #b9c3d2;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vcc-video,
.vcc-preview {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0f172a;
}

.vcc-placeholder {
    color: #667085;
    font-weight: 700;
    text-align: center;
    padding: 20px;
}

.vcc-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.vcc-btn {
    appearance: none;
    border: 1px solid #c9d3e2;
    background: #ffffff;
    color: #132033;
    border-radius: 999px;
    padding: 11px 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.vcc-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.10);
}

.vcc-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.vcc-btn-primary,
.vcc-btn-save {
    border-color: #0b5fff;
    background: #0b5fff;
    color: #ffffff;
}

.vcc-notes-box label {
    display: block;
    margin: 0 0 8px;
    font-weight: 800;
}

.vcc-notes-box textarea {
    display: block;
    width: 100%;
    min-height: 190px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 12px;
    font: inherit;
    resize: vertical;
    outline: none;
}

.vcc-notes-box textarea:focus {
    border-color: #0b5fff;
    box-shadow: 0 0 0 3px rgba(11, 95, 255, 0.12);
}

.vcc-btn-save {
    width: 100%;
    margin-top: 14px;
}

.vcc-status {
    min-height: 22px;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 700;
}

.vcc-status-success {
    color: #087443;
}

.vcc-status-error {
    color: #b42318;
}

.vcc-message {
    max-width: 760px;
    margin: 18px auto;
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 700;
}

.vcc-warning {
    background: #fff7e6;
    border: 1px solid #ffd58a;
    color: #8a5700;
}

@media (max-width: 760px) {
    .vcc-card {
        padding: 16px;
        border-radius: 14px;
    }

    .vcc-grid {
        grid-template-columns: 1fr;
    }

    .vcc-header h3 {
        font-size: 21px;
    }

    .vcc-actions .vcc-btn {
        flex: 1 1 100%;
    }
}


.vcc-records-wrap {
    max-width: 1100px;
    margin: 24px auto;
    font-family: Arial, Helvetica, sans-serif;
    color: #132033;
}

.vcc-records-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 0 14px;
}

.vcc-export-button,
.vcc-records-wrap .button.vcc-export-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #0b5fff;
    border: 1px solid #0b5fff;
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
    line-height: 1.2;
}

.vcc-export-button:hover,
.vcc-records-wrap .button.vcc-export-button:hover {
    color: #ffffff;
    text-decoration: none;
    filter: brightness(0.95);
}

.vcc-records-help {
    color: #667085;
    font-size: 13px;
}

.vcc-empty-message {
    background: #f4f7fb;
    border: 1px solid #d8e0ec;
    border-radius: 12px;
    padding: 14px 16px;
    font-weight: 700;
}

.vcc-records-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.vcc-records-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #d8e0ec;
    border-radius: 14px;
    overflow: hidden;
}

.vcc-records-table th,
.vcc-records-table td {
    padding: 12px;
    border-bottom: 1px solid #e6ebf2;
    vertical-align: top;
    text-align: left;
}

.vcc-records-table th {
    background: #f4f7fb;
    font-weight: 800;
}

.vcc-records-table tr:last-child td {
    border-bottom: 0;
}

.vcc-col-id {
    width: 70px;
}

.vcc-col-photo {
    width: 140px;
}

.vcc-col-date {
    width: 170px;
}

.vcc-col-actions {
    width: 110px;
}

.vcc-record-thumb {
    max-width: 112px;
    height: auto;
    border-radius: 8px;
    border: 1px solid #ccd0d4;
    display: block;
}

.vcc-record-notes {
    white-space: pre-wrap;
}

@media (max-width: 760px) {
    .vcc-records-actions {
        align-items: stretch;
    }

    .vcc-export-button,
    .vcc-records-wrap .button.vcc-export-button {
        width: 100%;
    }

    .vcc-records-table {
        min-width: 640px;
    }
}
