/* ============================= */

/* File input / status            */

/* ============================= */



input[type="file"] {

    display: none;

}



.status {

    margin-top: 20px;

    text-align: center;

    color: #555;

    min-height: 24px;

}





/* ============================= */

/* Meeting details fields         */

/* ============================= */



.meeting-fields {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;

    margin-bottom: 24px;

}



.field-group {

    display: flex;

    flex-direction: column;

    gap: 8px;

}



.field-group.full-width {

    grid-column: 1 / -1;

}



.field-group label {

    font-size: 14px;

    font-weight: 600;

    color: #333;

}



.field-group input {

    width: 100%;

    padding: 12px 14px;

    border: 1px solid #d1d5db;

    border-radius: 8px;

    font-size: 16px;

    background: white;

    color: #222;

    outline: none;

}



.field-group input:focus {

    border-color: #555;

}





/* ============================= */

/* Custom date picker              */

/* ============================= */



.date-picker-wrapper {

    position: relative;

}



#meetingDateDisplay {

    cursor: pointer;

    background: white;

}



.datepicker-calendar {

    display: none;

    position: absolute;

    z-index: 30;

    left: 0;

    top: calc(100% + 8px);

    width: 280px;

    padding: 14px;

    background: white;

    border: 1px solid #d1d5db;

    border-radius: 10px;

    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);

}



.datepicker-calendar.open {

    display: block;

}



.datepicker-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 10px;

}



.datepicker-title {

    font-size: 14px;

    font-weight: 600;

    color: #222;

}



.datepicker-nav {

    width: auto;

    margin-top: 0;

    padding: 4px 10px;

    border: 1px solid #d1d5db;

    border-radius: 6px;

    background: #f3f4f6;

    color: #222;

    font-size: 15px;

    line-height: 1;

    cursor: pointer;

}



.datepicker-nav:hover {

    background: #e5e7eb;

}



.datepicker-weekdays,

.datepicker-grid {

    display: grid;

    grid-template-columns: repeat(7, 1fr);

    text-align: center;

}



.datepicker-weekday {

    padding: 4px 0 8px;

    font-size: 12px;

    font-weight: 600;

    color: #777;

}



.datepicker-day {

    padding: 8px 0;

    margin: 1px;

    border-radius: 6px;

    font-size: 13px;

    color: #222;

    cursor: pointer;

}



.datepicker-day:hover {

    background: #f3f4f6;

}



.datepicker-day-empty {

    cursor: default;

}



.datepicker-day-empty:hover {

    background: none;

}



.datepicker-day-today {

    font-weight: 700;

    border: 1px solid #d1d5db;

}



.datepicker-day-selected,

.datepicker-day-selected:hover {

    background: #222;

    color: white;

    font-weight: 600;

}





/* ============================= */

/* Employees dropdown              */

/* ============================= */



.employees-dropdown {

    position: relative;

}



.employees-dropdown-button {

    width: 100%;

    margin-top: 0;

    padding: 12px 14px;

    border: 1px solid #d1d5db;

    border-radius: 8px;

    background: white;

    color: #222;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    text-align: left;

    font-size: 15px;

}



.employees-dropdown-button:hover {

    background: #fafafa;

}



.employees-dropdown-button .arrow {

    font-size: 12px;

    transition: transform 0.2s ease;

}



.employees-dropdown.open .arrow {

    transform: rotate(180deg);

}



.employees-dropdown-panel {

    display: none;

    position: absolute;

    z-index: 20;

    left: 0;

    right: 0;

    top: calc(100% + 8px);

    background: white;

    border: 1px solid #d1d5db;

    border-radius: 10px;

    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);

    overflow: hidden;

}



.employees-dropdown.open .employees-dropdown-panel {

    display: block;

}



.employees-search-wrap {

    padding: 12px;

    border-bottom: 1px solid #eceff1;

    background: #fafafa;

}



.employees-search-wrap input {

    width: 100%;

    margin: 0;

    padding: 10px 12px;

    border: 1px solid #d1d5db;

    border-radius: 8px;

    font-size: 15px;

    background: white;

}



.employees-box {

    max-height: 260px;

    overflow-y: auto;

    padding: 6px 12px;

    background: white;

}



.employee-option {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    padding: 10px 4px;

    border-bottom: 1px solid #eceff1;

    cursor: pointer;

}



.employee-option:last-child {

    border-bottom: none;

}



.employee-option:hover {

    background: #fafafa;

}



.employee-option input[type="checkbox"] {

    width: auto;

    margin-top: 3px;

}



.employee-name {

    font-weight: 600;

    color: #222;

}



.employee-position {

    margin-top: 2px;

    font-size: 13px;

    color: #777;

}



.employees-message {

    color: #777;

    font-size: 13px;

    padding: 8px 0;

}



.selected-employees-summary {

    margin-top: 8px;

    color: #666;

    font-size: 13px;

    min-height: 18px;

}





/* ============================= */

/* Video / recording picker        */

/* ============================= */



.video-picker {

    margin-top: 8px;

    padding: 18px;

    border: 1px solid #d1d5db;

    border-radius: 12px;

    background: #fafafa;

}



.video-picker-title {

    font-size: 14px;

    font-weight: 600;

    color: #333;

    margin-bottom: 10px;

}



.video-picker-row {

    display: flex;

    align-items: center;

    gap: 12px;

}



.video-file-info {

    flex: 1;

    min-width: 0;

    padding: 11px 12px;

    border: 1px solid #e5e7eb;

    border-radius: 8px;

    background: white;

    color: #666;

    font-size: 14px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

}



.video-action-button {

    width: auto;

    min-width: 220px;

    margin-top: 0;

    padding: 12px 18px;

    white-space: nowrap;

}





/* ============================= */

/* Progress bar                    */

/* ============================= */



.progress-container {

    display: none;

    margin-top: 30px;

}



.progress-header {

    display: flex;

    justify-content: space-between;

    margin-bottom: 8px;

    font-size: 14px;

    color: #555;

}



#progressPercent {

    font-size: 16px;

    font-weight: 600;

}



.progress-bar {

    width: 100%;

    height: 14px;

    background: #e5e7eb;

    border-radius: 10px;

    overflow: hidden;

}



.progress-fill {

    width: 0%;

    height: 100%;

    background: #222;

    border-radius: 10px;

    transition: width 0.4s ease;

}



.progress-fill.active {

    background: repeating-linear-gradient(

        45deg,

        #222,

        #222 12px,

        #3a3a3a 12px,

        #3a3a3a 24px

    );

    background-size: 40px 40px;

    animation: move-stripes 1s linear infinite;

}



@keyframes move-stripes {

    from {

        background-position: 0 0;

    }



    to {

        background-position: 40px 0;

    }

}



.progress-message {

    margin-top: 12px;

    text-align: center;

    color: #555;

    font-size: 17px;

    font-weight: 500;

}



.spinner {

    display: inline-block;

    width: 14px;

    height: 14px;

    border: 2px solid #ccc;

    border-top: 2px solid #222;

    border-radius: 50%;

    animation: spin 0.8s linear infinite;

    vertical-align: middle;

    margin-right: 8px;

}



@keyframes spin {

    from {

        transform: rotate(0deg);

    }



    to {

        transform: rotate(360deg);

    }

}





/* ============================= */

/* Processing cancellation UI      */

/* ============================= */



.processing-actions {

    display: none;

    justify-content: center;

    align-items: center;

    margin-top: 18px;

}



.processing-actions .danger-button {

    width: auto;

    min-width: 180px;

    margin-top: 0;

    padding: 9px 18px;

    border: 1px solid #e2b9b7;

    border-radius: 9px;

    background: #ffffff;

    color: #a7352f;

    font-size: 14px;

    font-weight: 600;

    box-shadow: none;

}



.processing-actions .danger-button:hover {

    background: #fff7f6;

    border-color: #cf8782;

    color: #8f2722;

}



.custom-modal-actions .danger-button {

    background: #a7352f;

    border-color: #a7352f;

    color: #ffffff;

}





/* ============================= */

/* Result section                  */

/* ============================= */



.result-section {

    display: none;

    margin-top: 28px;

    padding-top: 24px;

    border-top: 1px solid #e5e7eb;

}



.result-title {

    text-align: center;

    font-size: 16px;

    font-weight: 700;

    margin-bottom: 14px;

}



.result-actions {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

}



.result-actions button {

    margin-top: 0;

}



.result-actions button.active {

    background: #222;

    color: white;

    border-color: #222;

}





/* ============================= */

/* Prompt / manual protocol editor */

/* ============================= */



.edit-section {

    display: none;

    margin-top: 18px;

    padding: 18px;

    border: 1px solid #e5e7eb;

    border-radius: 12px;

    background: #fafafa;

}



.edit-section textarea {

    width: 100%;

    min-height: 110px;

    resize: vertical;

    padding: 12px;

    border: 1px solid #d1d5db;

    border-radius: 8px;

    font: inherit;

    outline: none;

}



.edit-section textarea:focus {

    border-color: #555;

}



.edit-help {

    margin: 0 0 10px;

    color: #666;

    font-size: 13px;

    line-height: 1.45;

}



.edit-controls {

    display: flex;

    gap: 10px;

    margin-top: 12px;

}



.edit-controls button {

    margin-top: 0;

}



.edit-mode-tabs {

    display: flex;

    gap: 10px;

    margin-bottom: 24px;

}



.edit-mode-tabs button {

    width: auto;

    flex: 0 0 auto;

}



.manual-edit-field {

    margin-bottom: 20px;

}



.manual-edit-field label {

    display: block;

    margin-bottom: 8px;

    font-weight: 600;

}



.manual-edit-field input,

.manual-edit-field textarea {

    width: 100%;

    box-sizing: border-box;

}



.manual-edit-block {

    margin-top: 28px;

}



.manual-edit-block h4 {

    margin-bottom: 14px;

}



.manual-edit-block > button {

    width: auto;

    margin-top: 4px;

}



.manual-list-row {

    display: grid;

    grid-template-columns: minmax(0, 1fr) 42px;

    gap: 10px;

    align-items: start;

    margin-bottom: 10px;

}



.manual-list-row textarea {

    width: 100%;

    min-width: 0;

    box-sizing: border-box;

}



.manual-edit-card {

    display: grid;

    gap: 10px;

    padding: 14px;

    margin-bottom: 12px;

    border: 1px solid #dfe3e8;

    border-radius: 10px;

    background: #fff;

}



.manual-edit-card input,

.manual-edit-card textarea,

.manual-edit-card select {

    width: 100%;

    box-sizing: border-box;

}



.manual-remove-button {

    width: 42px !important;

    min-width: 42px !important;

    max-width: 42px !important;

    height: 42px;

    padding: 0 !important;

    margin: 0 !important;

    flex: 0 0 42px;

    font-size: 20px;

}



#manualEditPanel .edit-controls {

    margin-top: 28px;

}





/* ============================= */

/* Index-page responsive rules     */

/* ============================= */



@media (max-width: 700px) {

    .meeting-fields {

        grid-template-columns: 1fr;

    }



    .field-group.full-width {

        grid-column: auto;

    }



    .video-picker-row {

        flex-direction: column;

        align-items: stretch;

    }



    .video-action-button {

        width: 100%;

        min-width: 0;

    }



    .result-actions {

        grid-template-columns: 1fr;

    }



    .edit-controls {

        flex-direction: column;

    }

}



@media (max-width: 520px) {

    .processing-actions .danger-button {

        width: 100%;

    }

}

/* ========================================

   Upload modal

======================================== */



.upload-modal-overlay {

    position: fixed;

    inset: 0;



    display: none;

    align-items: center;

    justify-content: center;



    padding: 24px;



    background: rgba(17, 24, 39, 0.48);

    backdrop-filter: blur(3px);



    z-index: 99999;

}





.upload-modal {

    position: relative;



    width: 100%;

    max-width: 560px;



    padding: 32px;



    background: #ffffff;



    border-radius: 18px;



    box-shadow:

        0 24px 70px rgba(0, 0, 0, 0.20);

}





.upload-modal-close {

    position: absolute;



    top: 16px;

    right: 18px;



    width: 36px;

    height: 36px;



    display: flex;

    align-items: center;

    justify-content: center;



    border: 0;

    border-radius: 50%;



    background: #f3f4f6;



    color: #374151;



    font-size: 24px;

    line-height: 1;



    cursor: pointer;



    transition: background 0.2s;

}





.upload-modal-close:hover {

    background: #e5e7eb;

}





.upload-modal-header {

    text-align: center;

    margin-bottom: 24px;

}





.upload-modal-header h2 {

    margin: 0 40px 8px;



    font-size: 22px;

    font-weight: 700;



    color: #111827;

}





.upload-modal-header p {

    margin: 0;



    font-size: 14px;



    color: #6b7280;

}





/* ========================================

   Drop zone

======================================== */



.video-drop-zone {

    min-height: 290px;



    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;



    padding: 32px;



    border: 2px dashed #c5cad3;

    border-radius: 14px;



    background: #fafafa;



    text-align: center;



    transition:

        background 0.2s,

        border-color 0.2s,

        transform 0.2s;

}





.video-drop-zone.drag-over {

    border-color: #222222;

    background: #f5f5f5;



    transform: scale(1.01);

}





.drop-zone-icon {

    width: 54px;

    height: 54px;



    display: flex;

    align-items: center;

    justify-content: center;



    margin-bottom: 16px;



    border-radius: 50%;



    background: #111111;

    color: #ffffff;



    font-size: 28px;

    font-weight: 400;

}





.drop-zone-title {

    margin-bottom: 8px;



    color: #111827;



    font-size: 18px;

    font-weight: 600;

}





.drop-zone-or {

    margin-bottom: 14px;



    color: #9ca3af;



    font-size: 14px;

}





.select-file-button {

    min-width: 180px;



    padding: 12px 22px;



    border: none;

    border-radius: 9px;



    background: #1f1f1f;

    color: #ffffff;



    font-size: 15px;

    font-weight: 600;



    cursor: pointer;



    transition:

        background 0.2s,

        transform 0.1s;

}





.select-file-button:hover {

    background: #000000;

}





.select-file-button:active {

    transform: translateY(1px);

}





/* Direct file selection link */



.select-file-link {

    margin-top: 12px;



    padding: 0;



    border: none;

    background: none;



    color: #555f75;



    font-size: 14px;



    text-decoration: underline;



    cursor: pointer;

}





.select-file-link:hover {

    color: #111111;

}





.drop-zone-hint {

    margin-top: 22px;



    color: #9ca3af;



    font-size: 12px;

    line-height: 1.5;

}


/* ============================================================
   Index page visual refresh
   ============================================================ */

body {
    background: #f5f6f8;
}

.container {
    width: min(920px, calc(100% - 40px));
    margin: 34px auto 48px;
}

.card {
    padding: 34px 38px 36px;
    border: 1px solid #e6e8ec;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.card h1 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: left;
    color: #1f2937;
}

.subtitle {
    max-width: 680px;
    margin: 0 0 30px;
    text-align: left;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.55;
}

.meeting-fields {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px 20px;
    margin-bottom: 22px;
}

.field-group {
    gap: 7px;
}

.field-group label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.field-group input {
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid #d8dce2;
    border-radius: 9px;
    font-size: 14px;
    box-sizing: border-box;
    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        background 0.16s ease;
}

.field-group input::placeholder {
    color: #a0a6b0;
}

.field-group input:focus {
    border-color: #8d949f;
    box-shadow: 0 0 0 3px rgba(31, 41, 55, 0.06);
}

#contractLabel[readonly] {
    background: #f8f9fb;
    color: #4b5563;
}

.employees-dropdown-button {
    min-height: 44px;
    padding: 10px 13px;
    border-color: #d8dce2;
    border-radius: 9px;
    font-size: 14px;
    box-sizing: border-box;
}

.selected-employees-summary {
    margin-top: 6px;
    min-height: 16px;
    font-size: 12px;
    color: #7b818b;
}

.video-picker {
    margin-top: 2px;
    padding: 16px;
    border: 1px solid #e0e3e8;
    border-radius: 11px;
    background: #f8f9fa;
}

.video-picker-title {
    margin-bottom: 9px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.video-picker-row {
    gap: 10px;
}

.video-file-info {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 9px 12px;
    border-color: #e2e5e9;
    border-radius: 8px;
    font-size: 13px;
    color: #6b7280;
    box-sizing: border-box;
}

.video-action-button {
    min-width: 210px;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.status {
    margin-top: 14px;
    min-height: 20px;
    font-size: 13px;
}

.progress-container {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 11px;
    background: #fafafa;
}

.progress-bar {
    height: 10px;
}

.progress-message {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
}

.result-section {
    margin-top: 24px;
    padding-top: 20px;
}

.result-title {
    text-align: left;
    font-size: 15px;
    margin-bottom: 12px;
}

.result-actions {
    gap: 10px;
}

.edit-section {
    padding: 16px;
    border-radius: 10px;
}

.footer {
    margin-top: 28px;
}

/* Keep the upload modal visually isolated from page layout rules */
.upload-modal .select-file-button,
.upload-modal .select-file-link,
.upload-modal .upload-modal-close {
    width: auto;
}

/* Tablet / mobile */
@media (max-width: 760px) {
    .container {
        width: min(100% - 24px, 920px);
        margin-top: 20px;
    }

    .card {
        padding: 26px 22px 28px;
        border-radius: 14px;
    }

    .card h1 {
        font-size: 26px;
    }

    .subtitle {
        margin-bottom: 24px;
    }

    .meeting-fields {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .field-group.full-width {
        grid-column: auto;
    }

    .video-picker-row {
        flex-direction: column;
        align-items: stretch;
    }

    .video-action-button {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .container {
        width: calc(100% - 16px);
        margin: 12px auto 28px;
    }

    .card {
        padding: 22px 16px 24px;
        border-radius: 12px;
    }

    .card h1 {
        font-size: 23px;
    }

    .subtitle {
        font-size: 14px;
    }
}

/* ============================================================
   FORCE COMPACT LAYOUT — final override
   ============================================================ */

.container {
    width: min(860px, calc(100% - 32px)) !important;
    max-width: 860px !important;
    margin: 0 auto !important;
    padding: 105px 16px 36px !important;
}

.card {
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 28px 32px 30px !important;
    margin: 0 !important;
}

.card > h1 {
    margin: 0 0 8px !important;
}

.subtitle {
    margin: 0 auto 24px !important;
}

.meeting-fields {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-auto-rows: auto !important;
    align-items: start !important;
    align-content: start !important;
    justify-content: stretch !important;
    row-gap: 14px !important;
    column-gap: 16px !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: auto !important;
}

.field-group,
.field-group.full-width {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: auto !important;
}

.field-group.full-width {
    grid-column: 1 / -1 !important;
}

.field-group label {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    line-height: 1.3 !important;
}

.field-group input,
.date-picker-wrapper,
.date-picker-wrapper > input,
.employees-dropdown,
.employees-dropdown-button {
    margin: 0 !important;
}

.field-group input,
.date-picker-wrapper > input[type="text"],
.employees-dropdown-button {
    min-height: 42px !important;
    height: 42px !important;
    padding: 9px 12px !important;
}

.selected-employees-summary {
    margin: 4px 0 0 !important;
    min-height: 15px !important;
}

.video-picker {
    margin: 2px 0 0 !important;
    padding: 14px !important;
}

.video-picker-title {
    margin: 0 0 8px !important;
}

.video-picker-row {
    gap: 10px !important;
}

.video-file-info,
.video-action-button {
    min-height: 40px !important;
    height: 40px !important;
    margin: 0 !important;
}

.status {
    margin: 8px 0 0 !important;
    min-height: 16px !important;
}

/* Do not let the shared global button margin stretch the form. */
.card .employees-dropdown-button,
.card .video-action-button,
.card .result-actions button,
.card .edit-controls button,
.card .manual-edit-block > button {
    margin-top: 0 !important;
}

/* Preserve the upload modal appearance. */
.upload-modal {
    height: auto !important;
    min-height: 0 !important;
}

.upload-modal button {
    height: auto !important;
}

.upload-modal .select-file-button {
    min-height: 0 !important;
    height: auto !important;
}

.upload-modal .select-file-link,
.upload-modal .upload-modal-close {
    height: auto !important;
}

@media (max-width: 760px) {
    .container {
        padding: 118px 10px 28px !important;
    }

    .card {
        padding: 22px 18px 24px !important;
    }

    .meeting-fields {
        grid-template-columns: 1fr !important;
        row-gap: 12px !important;
    }

    .field-group.full-width {
        grid-column: auto !important;
    }
}

.selected-file-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid #d8dce3;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
}

.clear-file-button {
  border: none;
  background: transparent;
  color: #7a7f87;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  flex-shrink: 0;
}

.clear-file-button:hover {
  color: #d93025;
}

.selected-file-box {
    flex: 1;
    min-width: 0;
    height: 40px;

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 0 10px 0 12px;

    border: 1px solid #e1e5e9;
    border-radius: 8px;

    background: #ffffff;
}

#fileName {
    flex: 1;
    min-width: 0;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #5f6772;
    font-size: 13px;
}

.clear-file-button {
    width: 26px !important;
    min-width: 26px !important;
    height: 26px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: transparent;
    color: #8b929c;

    font-size: 20px;
    line-height: 1;

    cursor: pointer;
}

.clear-file-button:hover {
    background: #f2f3f5;
    color: #b42318;
}
.clear-file-button[hidden] {
    display: none !important;
}

/* Selected file compact row */

.selected-file-box {
    flex: 1;
    min-width: 0;
    height: 42px;

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 0 10px 0 12px;

    border: 1px solid #dfe3e8;
    border-radius: 8px;

    background: #ffffff;
}

#fileName {
    flex: 1;
    min-width: 0;

    display: block;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #5f6772;
    font-size: 13px;
    line-height: 1.2;
}

.clear-file-button {
    width: 26px !important;
    min-width: 26px !important;
    height: 26px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 26px;

    border: none;
    border-radius: 50%;

    background: transparent;
    color: #8b929c;

    font-size: 20px;
    line-height: 1;

    cursor: pointer;
}

.clear-file-button:hover {
    background: #f2f3f5;
    color: #b42318;
}

.clear-file-button[hidden] {
    display: none !important;
}

.video-picker-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-action-button {
    flex: 0 0 auto;
    min-width: 220px;
    height: 42px;
    margin: 0 !important;
}


.meeting-fields {
    display: grid;
    gap: 18px;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-group label {
    font-weight: 600;
    font-size: 14px;
}

.field-group input {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 14px;
}

.field-group input:focus {
    outline: none;
    border-color: #666;
}

.project-select-wrapper {
  position: relative;
}

.project-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;

  max-height: 240px;
  overflow-y: auto;

  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 8px;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

  z-index: 1000;
}

.project-option {
  padding: 10px 14px;
  cursor: pointer;
  line-height: 1.35;
}

.project-option:hover {
  background: #f5f5f5;
}


.upload-customer-participant {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.upload-customer-participant input {
    width: 100%;
    margin: 0;

}

.upload-customer-participant .manual-remove-button {
    width: 44px;
    height: 44px;
    margin: 0;
}

#addUploadCustomerParticipantButton {
    width: auto;
    margin-top: 8px;
}