/* ============================================================
   내 영상
   video.css의 기존 topbar / video-subnav / upload 스타일을 그대로 사용
============================================================ */

.my-videos-main {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
    padding: 48px 0 80px;
}

.my-videos-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.my-videos-eyebrow {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    opacity: 0.55;
}

.my-videos-header h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
}

.my-videos-header p {
    margin: 12px 0 0;
    opacity: 0.65;
}

.my-videos-count {
    flex: 0 0 auto;
    padding: 9px 14px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    font-size: 13px;
    opacity: 0.8;
}

.my-videos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.my-video-card {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px;
    background: rgba(255,255,255,0.035);
    box-shadow: 0 16px 45px rgba(0,0,0,0.18);
}

.my-video-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
}

.my-video-media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #111;
}

.my-video-media-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.45);
    font-size: 14px;
}

.my-video-body {
    padding: 18px;
}

.my-video-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.my-video-title-row h2 {
    min-width: 0;
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    word-break: break-word;
}

.my-video-status {
    flex: 0 0 auto;
    padding: 5px 9px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 999px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0.8;
}

.my-video-description {
    margin: 10px 0 0;
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    line-height: 1.6;
    word-break: break-word;
}

.my-video-meta {
    display: grid;
    gap: 9px;
    margin: 18px 0 0;
}

.my-video-meta > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 12px;
}

.my-video-meta dt {
    color: rgba(255,255,255,0.42);
}

.my-video-meta dd {
    margin: 0;
    color: rgba(255,255,255,0.78);
    text-align: right;
}

.my-video-actions {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.my-video-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: inherit;
    text-decoration: none;
    font-size: 13px;
}

.my-videos-empty {
    padding: 70px 20px;
    border: 1px dashed rgba(255,255,255,0.12);
    border-radius: 18px;
    text-align: center;
}

.my-videos-empty-icon {
    margin-bottom: 14px;
    font-size: 38px;
}

.my-videos-empty h2 {
    margin: 0;
    font-size: 20px;
}

.my-videos-empty p {
    margin: 10px 0 0;
    color: rgba(255,255,255,0.55);
    font-size: 13px;
}

.my-videos-error {
    grid-column: 1 / -1;
    padding: 30px;
    border: 1px solid rgba(255,80,80,0.20);
    border-radius: 14px;
    color: rgba(255,255,255,0.75);
    background: rgba(255,80,80,0.05);
}

@media (max-width: 1000px) {
    .my-videos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .my-videos-main {
        width: min(100% - 24px, 1400px);
        padding-top: 30px;
    }

    .my-videos-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .my-videos-grid {
        grid-template-columns: 1fr;
    }
}






/* ============================================================
   내 크레딧 / 포인트
============================================================ */

.my-video-balance-panel {
    margin-bottom: 34px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px;
    background: rgba(255,255,255,0.035);
}


.my-video-balance-title {
    margin-bottom: 18px;
}


.my-video-balance-eyebrow {
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    opacity: 0.45;
}


.my-video-balance-title h2 {
    margin: 0;
    font-size: 18px;
}


.my-video-balance-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}


.my-video-balance-card {
    position: relative;
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: rgba(0,0,0,0.18);
}


.my-video-balance-label {
    margin-bottom: 8px;
    color: rgba(255,255,255,0.55);
    font-size: 12px;
}


.my-video-balance-value {
    display: inline-block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}


.my-video-balance-unit {
    margin-left: 5px;
    color: rgba(255,255,255,0.55);
    font-size: 12px;
}


.my-video-retention-notice {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 18px;
    padding: 13px 15px;
    border-radius: 10px;
    background: rgba(255,190,80,0.06);
    border: 1px solid rgba(255,190,80,0.10);
}


.my-video-retention-notice strong {
    font-size: 13px;
}


.my-video-retention-notice span {
    color: rgba(255,255,255,0.58);
    font-size: 12px;
    line-height: 1.5;
}



.extend-payment-option strong {
    font-size: 15px;
}


.extend-payment-option small {
    color: rgba(255,255,255,0.40);
    font-size: 10px;
}


.extend-video-message {
    min-height: 18px;
    margin: 14px 0;
    color: rgba(255,255,255,0.50);
    font-size: 11px;
    line-height: 1.5;
}


.extend-video-dialog-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}


.extend-video-cancel,
.extend-video-confirm {
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
    font-size: 12px;
}


.extend-video-cancel {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.65);
}


.extend-video-confirm {
    background: rgba(255,255,255,0.14);
    color: #fff;
}


.extend-video-confirm:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}


/* ============================================================
   모바일
============================================================ */

@media (max-width: 680px) {

    .my-video-balance-cards {
        grid-template-columns: 1fr;
    }


    .my-video-balance-panel {
        padding: 18px;
    }


    .extend-video-dialog {
        padding: 22px;
    }


    .extend-video-date-box {
        grid-template-columns: 1fr;
    }


    .extend-arrow {
        display: none;
    }

}



/* ============================================================
   내 크레딧 / 포인트
============================================================ */

.my-video-balance-panel {
    margin-bottom: 34px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px;
    background: rgba(255,255,255,0.035);
}


.my-video-balance-title {
    margin-bottom: 18px;
}


.my-video-balance-eyebrow {
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    opacity: 0.45;
}


.my-video-balance-title h2 {
    margin: 0;
    font-size: 18px;
}



/* ============================================================
   내 크레딧 · 포인트
============================================================ */


.my-video-balance-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}


.my-video-balance-card {
    position: relative;
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: rgba(0,0,0,0.18);
}


.my-video-balance-label {
    margin-bottom: 8px;
    color: rgba(255,255,255,0.55);
    font-size: 12px;
}


.my-video-balance-value {
    display: inline-block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}


.my-video-balance-unit {
    margin-left: 5px;
    color: rgba(255,255,255,0.55);
    font-size: 12px;
}


.my-video-retention-notice {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 18px;
    padding: 13px 15px;
    border-radius: 10px;
    background: rgba(255,190,80,0.06);
    border: 1px solid rgba(255,190,80,0.10);
}


.my-video-retention-notice strong {
    font-size: 13px;
}


.my-video-retention-notice span {
    color: rgba(255,255,255,0.58);
    font-size: 12px;
    line-height: 1.5;
}




.my-video-extend {
    background: rgba(255,255,255,0.12);
    color: #fff;
}


.my-video-extend:hover,
.my-video-extend.selected {
    background: rgba(255,255,255,0.20);
}


.my-video-no-extend {
    background: rgba(255,255,255,0.045);
    color: rgba(255,255,255,0.55);
}


.my-video-no-extend:hover,
.my-video-no-extend.selected {
    background: rgba(255,255,255,0.09);
    color: rgba(255,255,255,0.85);
}


/* ============================================================
   영상 카드 보관기간
============================================================ */

.my-video-retention-box {
    margin-top: 18px;
    padding: 14px;
    border-radius: 12px;

    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.07);

    box-sizing: border-box;
}


.my-video-retention-box p {
    margin: 0 0 12px;
    color: rgba(255,255,255,0.55);

    font-size: 11px;
    line-height: 1.55;
}




/* ============================================================
   연장 팝업
============================================================ */

#extendVideoDialog {
    width: min(520px, calc(100% - 30px));
    padding: 0;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 20px;
    background: #171717;
    color: #fff;
    box-shadow: 0 30px 100px rgba(0,0,0,0.55);
}


#extendVideoDialog::backdrop {
    background: rgba(0,0,0,0.72);
}


.extend-video-dialog {
    position: relative;
    padding: 28px;
}


.extend-video-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: #fff;
    cursor: pointer;
    font-size: 20px;
}


.extend-video-dialog-eyebrow {
    margin-bottom: 7px;
    color: rgba(255,255,255,0.40);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
}


.extend-video-dialog h2 {
    margin: 0;
    font-size: 24px;
}


.extend-video-title {
    margin: 8px 0 20px;
    color: rgba(255,255,255,0.60);
    font-size: 13px;
}


.extend-video-date-box {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 13px;
    background: rgba(255,255,255,0.045);
}


.extend-video-date-box > div:not(.extend-arrow) {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.extend-video-date-box span {
    color: rgba(255,255,255,0.40);
    font-size: 10px;
}


.extend-video-date-box strong {
    font-size: 13px;
}


.extend-arrow {
    color: rgba(255,255,255,0.30);
    font-size: 18px;
}


.extend-video-description {
    margin: 16px 0 22px;
    color: rgba(255,255,255,0.62);
    font-size: 12px;
    line-height: 1.6;
}


.extend-payment-title {
    margin-bottom: 9px;
    font-size: 12px;
    font-weight: 600;
}


.extend-payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}


.extend-payment-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px;
    background: rgba(255,255,255,0.035);
    color: #fff;
    cursor: pointer;
    text-align: left;
}


.extend-payment-option:hover {
    background: rgba(255,255,255,0.06);
}


.extend-payment-option.selected {
    border-color: rgba(255,255,255,0.30);
    background: rgba(255,255,255,0.10);
}


.extend-payment-name {
    color: rgba(255,255,255,0.55);
    font-size: 11px;
}


.extend-payment-option strong {
    font-size: 15px;
}


.extend-payment-option small {
    color: rgba(255,255,255,0.40);
    font-size: 10px;
}


.extend-video-message {
    min-height: 18px;
    margin: 14px 0;
    color: rgba(255,255,255,0.50);
    font-size: 11px;
    line-height: 1.5;
}


.extend-video-dialog-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}


.extend-video-cancel,
.extend-video-confirm {
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
    font-size: 12px;
}


.extend-video-cancel {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.65);
}


.extend-video-confirm {
    background: rgba(255,255,255,0.14);
    color: #fff;
}


.extend-video-confirm:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}


/* ============================================================
   모바일
============================================================ */

@media (max-width: 680px) {

    .my-video-balance-cards {
        grid-template-columns: 1fr;
    }


    .my-video-balance-panel {
        padding: 18px;
    }


    .extend-video-dialog {
        padding: 22px;
    }


    .extend-video-date-box {
        grid-template-columns: 1fr;
    }


    .extend-arrow {
        display: none;
    }

}


#registerStatus {
    white-space: pre-line;
}




/* ============================================================
   공개 / 비공개 버튼
============================================================ */

.my-video-visibility-actions {

    display: flex;

    gap: 6px;

    margin-left: auto;

}


.my-video-visibility-btn {

    min-height: 38px;

    padding: 0 13px;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 10px;

    background: rgba(255,255,255,0.045);

    color: rgba(255,255,255,0.55);

    cursor: pointer;

    font-size: 12px;

    transition:
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease;

}


.my-video-visibility-btn:hover {

    background:
        rgba(255,255,255,0.09);

    color: #fff;

}


/* 현재 선택된 상태 */

.my-video-visibility-btn.selected {

    background:
        rgba(255,255,255,0.14);

    border-color:
        rgba(255,255,255,0.20);

    color: #fff;

}


/* 비공개 상태 */

.my-video-visibility-btn.private-btn.selected {

    background:
        rgba(255,255,255,0.08);

    color:
        rgba(255,255,255,0.80);

}


/* 처리 중 */

.my-video-visibility-btn:disabled {

    opacity: 0.45;

    cursor: wait;

}


/* 모바일 */

@media (max-width: 680px) {

    .my-video-actions {

        flex-wrap: wrap;

    }

    .my-video-visibility-actions {

        width: 100%;

        margin-left: 0;

    }

    .my-video-visibility-btn {

        flex: 1;

    }

}



/* ============================================================
   영상 보관기간 연장 - 최종
============================================================ */

.my-video-retention-box {
    margin-top: 18px;
    padding: 14px;

    border-radius: 12px;

    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.07);

    box-sizing: border-box;
}


.my-video-retention-row {
    display: flex;
    align-items: center;

    width: 100%;
    gap: 12px;

    box-sizing: border-box;
}


/* 안내 문구 */
.my-video-retention-text {
    flex: 1 1 auto;
    min-width: 0;

    margin: 0;
    padding-top: 6px;

    color: rgba(255,255,255,0.55);

    font-size: 11px;
    line-height: 1.55;

    box-sizing: border-box;
}


/* 연장 버튼 영역 */
.my-video-retention-row .my-video-choice-buttons {
    flex: 0 0 115px;

    width: 100px;

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

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


/* 연장하기 버튼 */
.my-video-retention-row .my-video-choice-buttons .my-video-extend {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;

    height: 44px;
    min-height: 44px;

    padding: 0 14px;

    margin: 0;

    border: 0 !important;
    border-width: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;

    border-radius: 9px;

    background: rgba(255,255,255,0.12);

    color: #fff;

    cursor: pointer;

    font-size: 12px;
    font-weight: 500;

    line-height: 1;

    white-space: nowrap;

    appearance: none;
    -webkit-appearance: none;

    box-sizing: border-box;
}


.my-video-retention-row .my-video-choice-buttons .my-video-extend:hover {
    background: rgba(255,255,255,0.20);
}


.my-video-retention-row .my-video-choice-buttons .my-video-extend:focus,
.my-video-retention-row .my-video-choice-buttons .my-video-extend:focus-visible {
    outline: none !important;
    border: 0 !important;
    box-shadow: none !important;
}


/* ============================================================
   영상 삭제 버튼
============================================================ */

.my-video-delete-btn {

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

    min-height: 38px;
    min-width: 56px;
    padding: 0 13px;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    background: rgba(255,255,255,0.045);
    color: rgba(255,255,255,0.55);

    cursor: pointer;
    font-size: 12px;
    white-space: nowrap;
    box-sizing: border-box;

    transition:
        background 0.18s ease,
        color 0.18s ease;
}


.my-video-delete-btn:hover {

    background: rgba(255,80,80,0.14);
    color: rgba(255,150,150,1);

}


.my-video-delete-btn:disabled {

    opacity: 0.45;
    cursor: wait;

}


/* ============================================================
   영상 정보 수정
============================================================ */

.my-video-edit-dialog {
    width: min(520px, calc(100vw - 32px));
    padding: 0;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 14px;
    background: #171819;
    color: #fff;
}

.my-video-edit-dialog::backdrop {
    background: rgba(0,0,0,0.72);
}

.my-video-edit-form {
    padding: 22px;
}

.my-video-edit-form h3 {
    margin: 0 0 20px;
    font-size: 17px;
}

.my-video-edit-form label {
    display: block;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.65);
    font-size: 12px;
}


.my-video-edit-form label[for="editVideoTitle"],
.my-video-edit-form label[for="editVideoDescription"],
.my-video-edit-form label[for="editViewPrice"] {
    display: block;
    margin-top: 25px;
}



.my-video-edit-form input,
.my-video-edit-form textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 11px 12px;
    box-sizing: border-box;

    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 9px;

    background: rgba(255,255,255,0.05);
    color: #fff;

    font: inherit;
}

.my-video-edit-form textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.my-video-edit-form input:focus,
.my-video-edit-form textarea:focus {
    outline: none;
    border-color: rgba(255,255,255,0.30);
}

.my-video-edit-message {
    min-height: 18px;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.60);
    font-size: 11px;
}

.my-video-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.my-video-edit-cancel,
.my-video-edit-save {
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
}

.my-video-edit-cancel {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.65);
}

.my-video-edit-save {
    background: rgba(255,255,255,0.14);
    color: #fff;
}

.my-video-edit-save:disabled,
.my-video-edit-cancel:disabled {
    opacity: 0.4;
    cursor: wait;
}




/* ============================================================
   내 영상 - 수정 버튼
============================================================ */

.my-video-edit {
    min-height: 40px;
    padding: 0 16px;

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 9px;

    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.72);

    font: inherit;
    font-size: 13px;

    cursor: pointer;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.my-video-edit:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.my-video-edit:active {
    background: rgba(255, 255, 255, 0.16);
}

.my-video-edit:disabled {
    opacity: 0.4;
    cursor: wait;
}



/* 로고 */

.topbar .brand {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;

    margin-left: auto;
    margin-right: 20px;

    transform: translateY(1px);
}

        
.topbar .brand img {
    display: block;
    width: 90px; /* 로고 크기 */
    height: auto;
    object-fit: contain;
} 

/* 로고 링크의 버튼 스타일 제거 */
.topbar .brand a {
    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: none;
    border-radius: 0;

    padding: 0;
    box-shadow: none;

    text-decoration: none;
}


.topbar .brand a {
    transition: transform 0.2s ease, filter 0.2s ease;
}

.topbar .brand a:hover {
    transform: scale(1.08);
    filter: brightness(1.2);
}



.video-view-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 13px;
}

.video-view-price .label {
    font-size: 12px;
    color: #888;
}

.video-view-price .value {
    font-size: 13px;
    font-weight: 500;
}


/*
    0 크레딧이면 무료로 시청할 수 있습니다. 글씨 크기를 50%
*/
.my-video-edit-form .section-description {
    font-size: 12px;
}

/*
    크레딧 입력창에서 우측 클릭하여 숫자 올리는 버튼 삭제
*/

.my-video-edit-view-price::-webkit-inner-spin-button,
.my-video-edit-view-price::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}




/* ============================================================
   제목
============================================================ */

.credit-modal-header {

    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}


.credit-modal-header h3 {

    margin: 0;
    font-size: 22px;
    color: #f5f7f8;
}


.credit-close {

    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    padding: 2px 6px;
}


/* ============================================================
   현재 보유 크레딧
============================================================ */

.credit-balance {

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 14px 16px;
    margin-bottom: 18px;
    background: #20262d;
    border: 1px solid #303841;

    border-radius: 10px;
    font-size: 14px;
    color: #c7cdd3;
}


.credit-balance strong {
    font-size: 17px;

    color: #ffffff;
}


/* ============================================================
   충전 상품
============================================================ */

.credit-products {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}


.credit-product {

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 125px;
    padding: 16px;
    border: 1px solid #3a424b;
    border-radius: 12px;
    background: #1b2128;
    color: #f5f7f8;
    cursor: pointer;

    transition:
        transform 0.15s,
        box-shadow 0.15s,
        border-color 0.15s,
        background 0.15s;
}


.credit-product:hover {

    transform: translateY(-2px);
    border-color: #8bd63f;
    background: #222a31;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}


.credit-product strong {

    font-size: 22px;
    margin-bottom: 8px;
    color: #ffffff;
}


.credit-product span {

    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #f0f2f4;
}


.credit-product small {

    font-size: 13px;
    color: #aeb5bc;
}


/* ============================================================
   결제 안내
============================================================ */

.credit-payment-message {

    margin: 18px 0 0;
    text-align: center;
    font-size: 13px;
    color: #9da5ad;
}


/* ============================================================
   모바일
============================================================ */

@media (max-width: 680px) {

    .credit-modal-box {
        padding: 20px;
    }

    .credit-products {
        grid-template-columns: 1fr 1fr;
    }

    .credit-product {
        min-height: 115px;
    }

}




/* 내 영상 하단 버튼 전체 */
.my-video-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

/* 첫 번째 줄: 영상 보기 / 수정 */
.my-video-primary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

/* 두 번째 줄: 공개 / 비공개 / 삭제 */
.my-video-visibility-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

/* 버튼 글자 줄바꿈 방지 */
.my-video-actions a,
.my-video-actions button {
    min-width: 0;
    white-space: nowrap;
    word-break: keep-all;
    box-sizing: border-box;
    text-align: center;
}





/* 영상 보기 버튼 기본 스타일 */
.my-video-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    min-width: 0;
    min-height: 42px;
    padding: 0 12px;

    border: 1px solid #3a3f46;
    border-radius: 10px;

    background: #202328;
    color: #ffffff;

    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

/* 마우스 호버 효과 */
.my-video-download:hover {
    background: #343a42;
    border-color: #686f79;
    color: #ffffff;

    transform: translateY(-2px);

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* 클릭하는 순간 */
.my-video-download:active {
    transform: translateY(0);
    box-shadow: none;
}

/* 키보드로 선택했을 때 */
.my-video-download:focus-visible {
    outline: 2px solid #8bd450;
    outline-offset: 3px;
}





.my-video-edit-language-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 16px;
}

.my-video-edit-language-tab {
    padding: 8px 12px;
    border: 1px solid #444;
    border-radius: 8px;
    background: #242424;
    color: #ddd;
    cursor: pointer;
    font-size: 13px;
}

.my-video-edit-language-tab.active {
    background: #444;
    border-color: #888;
    color: #fff;
    font-weight: 600;
}

.my-video-edit-form .my-video-edit-title,
.my-video-edit-form .my-video-edit-description {
    box-sizing: border-box;
    width: 100%;
}







