/**
 * Linquvo - PDF to Image styles
 */

.pdf-image-upload {
    width: 100%;
    min-height: 320px;
    border-radius: 16px;
    padding: 24px;
}

.pdf-image-empty {
    min-height: 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.pdf-image-empty .material-symbols-outlined {
    font-size: 68px;
    opacity: 0.65;
}

.pdf-image-empty button,
.pdf-image-settings button {
    border: 1px solid rgba(121, 116, 126, 0.32);
    background: white;
    color: #1d1b20;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.pdf-file-preview {
    min-height: 120px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
}

.pdf-file-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: rgba(70, 72, 212, 0.12);
    color: #FF5A3C;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-file-icon .material-symbols-outlined {
    font-size: 32px;
}

.pdf-file-name {
    color: #1d1b20;
    font-size: 16px;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pdf-file-meta {
    margin-top: 4px;
    color: #767586;
    font-size: 13px;
}

#remove-file-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(121, 116, 126, 0.32);
    border-radius: 999px;
    background: white;
    color: #464554;
    cursor: pointer;
}

.pdf-image-settings {
    width: 100%;
    border-radius: 14px;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 14px;
    align-items: end;
}

.setting-group {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.setting-group label {
    color: #464554;
    font-size: 12px;
    font-weight: 800;
}

.setting-group select,
.setting-group input {
    width: 100%;
    border: 1px solid rgba(121, 116, 126, 0.38);
    border-radius: 10px;
    background: white;
    padding: 11px 12px;
    color: #1d1b20;
    outline: none;
}

#process-btn {
    min-height: 43px;
    border-color: #FF5A3C;
    background: #FF5A3C;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#process-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 800px) {
    .pdf-image-settings {
        grid-template-columns: 1fr;
    }
}
