/* Page specific styles for Fotos 3x4 */

body {
    background-image: radial-gradient(at 100% 0%, rgba(0, 82, 212, 0.05) 0px, transparent 50%);
}

.container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1.5rem;
    text-align: center;
}

.header-section { margin-bottom: 3rem; }

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.subtitle { color: var(--text-muted); font-size: 1.1rem; }

/* Drop Zone */
.drop-zone {
    background: var(--card-bg);
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2.5rem;
}

.drop-zone:hover {
    border-color: var(--primary);
    background: rgba(0, 82, 212, 0.02);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.drop-icon { font-size: 3rem; margin-bottom: 1rem; }
.drop-text { font-size: 1.25rem; font-weight: 700; color: var(--text-main); margin-bottom: 0.5rem; }
.drop-info { font-size: 0.875rem; color: var(--text-muted); font-weight: 500; }
#file-input { display: none; }

/* Cropper Wrapper */
.cropper-wrapper {
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 2rem;
    max-height: 500px;
    box-shadow: var(--shadow-xl);
}

#image-to-crop {
    max-width: 100%;
    display: block;
}

/* Actions Section */
.actions-section {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: left;
}

.option-item label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
}

.modern-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    background: var(--bg);
    color: var(--text-main);
    transition: all 0.2s;
}

.modern-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--card-bg);
    box-shadow: 0 0 0 4px rgba(0, 82, 212, 0.1);
}

.btn-action {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    border: none;
    padding: 1.25rem;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0, 82, 212, 0.3);
    width: 100%;
}

.btn-action:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 82, 212, 0.4);
}

.btn-clear-data {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

[data-theme="dark"] .btn-clear-data { background: rgba(255, 255, 255, 0.05); }

.btn-clear-data:hover {
    background: var(--border);
    color: var(--text-main);
}

#status { margin-top: 1rem; font-size: 0.95rem; font-weight: 700; color: var(--primary); }

/* Info Section */
.info-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.info-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.info-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 640px) {
    h1 { font-size: 1.75rem; }
    .container { margin: 1.5rem auto; padding: 0 1rem; }
    .buttons-group {
        grid-template-columns: 1fr !important;
    }
}
