/*
============================================================
/tools/pdf-to-word/index.css
CSS หน้าเครื่องมือ PDF to Word
============================================================
*/

.tool-page-section {
    padding: 74px 20px;
    background:
        radial-gradient(circle at top right, rgba(255, 90, 95, 0.14), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fff7f7 100%);
}

.tool-page-container {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}

.tool-head {
    text-align: center;
    margin-bottom: 34px;
}

.tool-head-icon {
    width: 84px;
    height: 84px;
    border-radius: 28px;
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(255, 90, 95, 0.28);

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

    font-size: 40px;
    margin: 0 auto 18px auto;
}

.tool-head h1 {
    color: var(--black);
    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.06em;
    margin-bottom: 12px;
}

.tool-head p {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 720px;
    margin: 0 auto 16px auto;
}

.tool-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 14px;
    border-radius: 999px;

    background: var(--primary-soft);
    color: var(--primary-color);

    font-size: 14px;
    font-weight: 900;
}

.tool-upload-card {
    padding: 28px;
}

.upload-dropzone {
    border: 2px dashed rgba(255, 90, 95, 0.32);
    border-radius: 28px;
    background: linear-gradient(180deg, #fff8f8, #ffffff);

    min-height: 330px;
    padding: 34px;

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

    text-align: center;
    transition: 0.2s ease;
}

.upload-dropzone.drag-active {
    background: var(--primary-soft);
    border-color: var(--primary-color);
}

.upload-icon {
    width: 78px;
    height: 78px;
    border-radius: 26px;
    background: var(--primary-color);
    color: #ffffff;

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

    font-size: 38px;
    margin-bottom: 18px;
    box-shadow: 0 16px 30px rgba(255, 90, 95, 0.25);
}

.upload-dropzone h2 {
    color: var(--black);
    font-size: 26px;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.upload-dropzone p {
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 20px;
}

.mock-file-name {
    margin-top: 16px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #f9fafb;
    color: var(--text-muted);

    font-size: 14px;
    font-weight: 700;
}

.tool-limit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;

    margin-top: 20px;
}

.limit-box {
    padding: 20px;
    border-radius: 22px;
    border: 1px solid var(--border-color);
    background: #ffffff;
}

.limit-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--primary-soft);

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

    font-size: 23px;
    margin-bottom: 12px;
}

.limit-box h3 {
    color: var(--black);
    font-size: 18px;
    margin-bottom: 6px;
}

.limit-box p {
    color: var(--text-muted);
    font-size: 14px;
}

.tool-coming-soon {
    margin-top: 20px;
    padding: 15px 16px;
    border-radius: 18px;

    background: var(--primary-soft);
    color: var(--primary-color);

    text-align: center;
    font-weight: 900;
}

.tool-actions {
    margin-top: 22px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .tool-page-section {
        padding: 52px 16px;
    }

    .tool-upload-card {
        padding: 18px;
    }

    .upload-dropzone {
        min-height: 280px;
        padding: 24px;
        border-radius: 22px;
    }

    .tool-limit-grid {
        grid-template-columns: 1fr;
    }

    .tool-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .tool-actions .btn {
        width: 100%;
    }
}