/* Extra layout for the shared multi-platform watermark pages. */
.input-actions .action-btn {
    width: auto;
    min-width: 58px;
    padding: 0 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.message {
    min-height: 24px;
    margin-top: 12px;
    font-size: 14px;
    text-align: center;
}
.message.success { color: #16a34a; }
.message.error { color: #dc2626; }

.loading-indicator {
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
    padding: 22px;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}
.loading-indicator .spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #dbeafe;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: platform-spin .8s linear infinite;
}
@keyframes platform-spin { to { transform: rotate(360deg); } }

.error-message {
    margin: 18px 0;
    padding: 14px 18px;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fef2f2;
}

.result-section > h2 {
    margin: 0 0 22px;
    color: #0f172a;
    font-size: 24px;
    text-align: center;
}
.cover-section,
.video-section,
.images-section {
    margin-top: 18px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}
.cover-section h3,
.video-section h3,
.images-section h3 {
    margin: 0 0 14px;
    color: #1e293b;
    font-size: 18px;
}
.images-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

.tool-info {
    position: relative;
    margin-top: 34px;
    padding: 30px;
    overflow: hidden;
    color: #334155;
    line-height: 1.8;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: linear-gradient(145deg, #fff, #f8fafc);
    box-shadow: 0 12px 35px rgba(15, 23, 42, .07);
}
.tool-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
}
.tool-info h1 { margin: 0 0 16px; color: #0f172a; font-size: 26px; line-height: 1.35; }
.tool-info h2 { margin: 25px 0 10px; color: #1e293b; font-size: 20px; }
.tool-info p { margin: 10px 0; }
.tool-info ol { margin: 10px 0; padding-left: 24px; }
.tool-info li { margin: 7px 0; }

@media (max-width: 768px) {
    .input-wrapper { flex-direction: column; }
    .input-actions { position: static; width: 100%; margin-top: 10px; }
    .input-actions .action-btn { flex: 1; min-height: 42px; }
    .url-input { padding-right: 16px; }
    .cover-section, .video-section, .images-section, .tool-info { padding: 16px; }
    .tool-info h1 { font-size: 22px; }
}
