﻿/* カード間の余白 */
.purchase-manual-support-card-spaced {
    margin-bottom: 24px;
}

/* テキストエリア */
.purchase-manual-support-textarea {
    min-height: 160px;
    resize: vertical;
    padding-top: 12px;
    padding-bottom: 12px;
}

/* チェック群 */
.purchase-manual-support-check-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.purchase-manual-support-check-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #24324b;
}

    .purchase-manual-support-check-item input[type="checkbox"] {
        width: 14px;
        height: 14px;
    }

.purchase-manual-support-other-box {
    margin-top: 8px;
}

/* LicenseIssue風のファイル選択 */
.purchase-file-picker {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 56px;
    border: 1px solid #c9d8ee;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
}

    .purchase-file-picker:hover {
        border-color: #aac2e8;
    }

    .purchase-file-picker:hover {
        border-color: #8fb3ee;
        box-shadow: 0 6px 16px rgba(56, 100, 180, 0.10);
        background: #fcfdff;
    }

        .purchase-file-picker:hover .purchase-file-picker-button {
            background: #f5f9ff;
            color: #1550b8;
            border-right-color: #b7ccef;
        }

        .purchase-file-picker:hover .purchase-file-picker-name {
            color: #5f6f8f;
        }

    .purchase-file-picker:focus-within {
        border-color: #5d97f6;
        box-shadow: 0 0 0 3px rgba(93, 151, 246, 0.12);
    }



.purchase-file-picker-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.purchase-file-picker-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 0 24px;
    border-right: 1px solid #c9d8ee;
    background: #fff;
    color: #1f5fcf;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
}

.purchase-file-picker-name {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 0 16px;
    color: #7d8aa5;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* エラー表示との間隔 */
.purchase-file-picker + .text-danger,
.purchase-manual-support-other-box .text-danger {
    display: block;
    margin-top: 6px;
}

/* スマホ */
@media (max-width: 767.98px) {
    .purchase-manual-support-card-spaced {
        margin-bottom: 16px;
    }

    .purchase-file-picker {
        min-height: 52px;
    }

    .purchase-file-picker-button {
        min-width: 124px;
        padding: 0 16px;
        font-size: 14px;
    }

    .purchase-file-picker-name {
        font-size: 13px;
        padding: 0 12px;
    }
}