/* ═══════════════════════════════════════════════════════════════
   VARIÁVEIS E RESET
   ═══════════════════════════════════════════════════════════════ */
:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #ede9fe;
    --primary-dark: #3730a3;
    --bg-app: #f1f5f9;
    --bg-sidebar: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #cbd5e1;
    --sidebar-width: 340px;
    --card-radius: 12px;
    /* Cores para o modal/popup */
    --modal-accent: #6366f1;
    --modal-accent-light: #818cf8;
    --modal-bg-dark: #0f172a;
    --modal-bg-card: #ffffff;
    --modal-border-glow: rgba(99, 102, 241, 0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-app);
    color: var(--text-main);
    overflow-x: hidden;
}
.app-container { display: flex; min-height: 100vh; }

/* ═══════════════════════════════════════════════════════════════
   SIDEBAR - DESIGN MINIMALISTA
   ═══════════════════════════════════════════════════════════════ */
.sidebar {
    width: var(--sidebar-width); background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color); display: flex; flex-direction: column;
    height: 100vh; position: sticky; top: 0; z-index: 10; overflow-y: auto;
    flex-shrink: 0;
}
.sidebar-header { padding: 24px 20px; border-bottom: 1px solid var(--border-color); }
.sidebar-header h1 { font-size: 18px; font-weight: 800; color: var(--primary); letter-spacing: -0.02em; }
.sidebar-header p { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.sidebar-body { padding: 20px; display: flex; flex-direction: column; gap: 24px; }

.control-section { display: flex; flex-direction: column; gap: 12px; }
.layout-choice { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.layout-choice-btn { border: 1.5px solid var(--border-color); background: #fff; color: var(--text-muted); border-radius: 8px; padding: 10px 8px; font: 700 12px/1.1 inherit; cursor: pointer; transition: .2s; }
.layout-choice-btn:hover, .layout-choice-btn.active { color: var(--primary); border-color: var(--primary); background: var(--primary-light); }
.auto-fit-option { display: flex; gap: 8px; align-items: center; font-size: 12px; color: #475569; cursor: pointer; }
.auto-fit-option input { accent-color: var(--primary); }
.font-size-control { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid #e2e8f0; border-radius: 9px; background: linear-gradient(135deg, #f8fafc, #eef2ff); }
.font-size-control label { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; color: #475569; }
.font-size-control output { color: var(--primary); font-size: 11px; }
.font-size-control input[type="range"] { width: 100%; accent-color: var(--primary); cursor: pointer; }
.font-size-hint { display: flex; justify-content: space-between; color: #94a3b8; font-size: 9px; }
.bilhete-mensagem p { margin: 0 0 5px; }
.modo-6 .bilhete-mensagem p { margin-bottom: 3px; }
.field-hint { color: var(--text-muted); font-size: 10px; font-weight: 500; }
.link-help { color: var(--text-muted); font-size: 10px; line-height: 1.35; margin-bottom: 8px; display: block; }

/* Melhoria: Lista de Links */
.links-container { display: flex; flex-direction: column; gap: 8px; }
.link-input-group { display: flex; gap: 6px; align-items: center; }
.link-input-group input { flex: 1; }
.btn-remove-link { 
    background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; 
    border-radius: 6px; width: 32px; height: 32px; cursor: pointer; 
    display: flex; align-items: center; justify-content: center;
}
.btn-add-link {
    background: var(--primary-light); color: var(--primary); border: 1.5px dashed var(--primary);
    border-radius: 8px; padding: 8px; font-size: 12px; font-weight: 700; cursor: pointer;
    margin-top: 4px; transition: 0.2s;
}
.btn-add-link:hover { background: #e0e7ff; }

.section-label {
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; color: #64748b;
    display: flex; align-items: center; justify-content: space-between;
}
.section-label .tag-rec { font-size: 9px; background: #dcfce7; color: #166534; padding: 2px 6px; border-radius: 10px; text-transform: none; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 600; color: #334155; }
.form-group input, .form-group select, .form-group textarea {
    padding: 10px 12px; border: 1.5px solid var(--border-color); border-radius: 8px; font-size: 13px;
    background: #ffffff; transition: all 0.2s; font-family: inherit; color: var(--text-main);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}

/* TOGGLE DISCRETO */
.toggle-container { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 500; color: #334155; }
.toggle-switch { position: relative; display: inline-block; width: 38px; height: 20px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; inset: 0; background-color: #cbd5e1; transition: .3s; border-radius: 20px; }
.toggle-slider:before { position: absolute; content: ""; height: 14px; width: 14px; left: 3px; bottom: 3px; background-color: white; transition: .3s; border-radius: 50%; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
input:checked + .toggle-slider { background-color: var(--primary); }
input:checked + .toggle-slider:before { transform: translateX(18px); }

/* GALERIA */
.galeria-tabs { display: flex; background: #e2e8f0; padding: 3px; border-radius: 10px; margin-bottom: 8px; }
.galeria-tab { flex: 1; padding: 8px; border: none; background: transparent; font-size: 12px; font-weight: 600; cursor: pointer; border-radius: 8px; color: var(--text-muted); }
.galeria-tab.active { background: white; color: var(--primary); box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.galeria-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 4px; }
.galeria-item { aspect-ratio: 1; border-radius: 6px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: 0.2s; }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; }
.galeria-item.active { border-color: var(--primary); transform: scale(0.95); }

.upload-zone {
    border: 2.5px dashed var(--primary);
    padding: 16px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
    background: #f8fafc;
    margin-top: 8px;
}
.upload-zone:hover {
    border-color: var(--primary-hover);
    background: var(--primary-light);
    transform: translateY(-1px);
}
.upload-zone p {
    font-size: 13px;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.btn-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.btn-imprimir { background: var(--primary); color: white; border: none; padding: 14px; border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-imprimir:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(79,70,229,0.2); }
.btn-pdf { background: #059669; color: white; border: none; padding: 14px; border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-pdf:hover { background: #047857; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2); }

/* ═══════════════════════════════════════════════════════════════
   ÁREA DE PREVIEW
   ═══════════════════════════════════════════════════════════════ */
.preview-area {
    flex: 1;
    padding: 40px 20px;
    display: block;
    overflow-y: auto;
    background: #94a3b8;
    height: 100vh;
}

.folha-a4 {
    width: 210mm;
    min-height: 297mm;
    background: #ffffff;
    display: grid !important;
    position: relative;
    box-shadow: 0 0 40px rgba(0,0,0,0.3);
    margin: 20px auto;
    z-index: 10;
    border: 1px solid #ddd;
}
.folha-a4.modo-4 { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); }
.folha-a4.modo-6 { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); }

.linha-corte-v { position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px dashed #cbd5e1; transform: translateX(-50%); z-index: 5; }
.linha-corte-h-meio { position: absolute; top: 50%; left: 0; right: 0; border-top: 1px dashed #cbd5e1; z-index: 5; }
.linha-corte-h1 { position: absolute; top: 33.333%; left: 0; right: 0; border-top: 1px dashed #cbd5e1; z-index: 5; }
.linha-corte-h2 { position: absolute; top: 66.666%; left: 0; right: 0; border-top: 1px dashed #cbd5e1; z-index: 5; }

/* ═══════════════════════════════════════════════════════════════
   CARD DO BILHETE - DESIGN PREMIUM
   ═══════════════════════════════════════════════════════════════ */
.bilhete-card {
    margin: 0;
    padding: 5mm 6mm;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
    border: 3px solid var(--primary) !important;
    position: relative;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.bilhete-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    flex-shrink: 0;
}
.bilhete-header-info { display: flex; flex-direction: column; }
.bilhete-secretaria { font-size: 8px; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.02em; }
.bilhete-escola { font-size: 11px; font-weight: 800; color: var(--primary); text-transform: uppercase; }
.bilhete-logo-img { height: 28px; width: auto; object-fit: contain; }

.bilhete-image-wrapper {
    width: 100%;
    height: 130px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 8px;
    flex-shrink: 0;
    border: 5px solid #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modo-6 .bilhete-card { padding: 2mm 4mm; }
.modo-6 .bilhete-image-wrapper { height: 110px; margin-bottom: 3px; border-radius: 10px; border: 3px solid #ffffff; box-shadow: 0 3px 8px rgba(0,0,0,0.2); }
.modo-6 .bilhete-titulo { font-size: 9px; margin-bottom: 2px; }
.modo-6 .bilhete-mensagem { line-height: 1.2; font-size: 9px; }
.modo-6 .bilhete-footer { margin-top: 2px; padding-top: 2px; }
.modo-6 .bilhete-escola { font-size: 8.5px; }
.modo-6 .bilhete-secretaria { font-size: 6.5px; }
.modo-6 .bilhete-logo-img { height: 20px; }

.bilhete-main-img { width: 100%; height: 100%; display: block; object-fit: cover; }

.bilhete-titulo {
    font-size: 13px; font-weight: 800; color: var(--primary);
    margin-bottom: 6px; text-align: center; text-transform: uppercase;
    letter-spacing: 0.01em; flex-shrink: 0;
}

.bilhete-corpo {
    flex: 1; display: flex; flex-direction: column;
    justify-content: flex-start; overflow: hidden; min-height: 0;
}

.bilhete-mensagem {
    font-size: 12px; font-weight: 500; color: #334155;
    line-height: 1.4; text-align: justify; overflow: hidden; flex-shrink: 0;
}

.campo-destaque { font-weight: 800; color: #1e40af; }

/* Melhoria: Área de Links e QR Codes */
.bilhete-links-area {
    display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px;
    justify-content: center; align-items: center;
}

/* Cada link ocupa uma linha compacta: QR Code e botão ficam lado a lado. */
.bilhete-link-item {
    display: inline-flex; flex-direction: row; align-items: center; gap: 6px;
}



.qr-code-wrapper {
    background: #ffffff; padding: 3px; border-radius: 7px;
    border: 1px solid #f1f5f9; box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex; align-items: center; justify-content: center;
}
.qr-code-wrapper canvas, .qr-code-wrapper img {
    width: 56px !important; height: 56px !important;
}

.modo-6 .qr-code-wrapper canvas, .modo-6 .qr-code-wrapper img {
    width: 45px !important; height: 45px !important;
}

.bilhete-link-btn {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 8px; background: var(--primary-light);
    color: var(--primary-dark); border-radius: 99px;
    font-size: 9px; font-weight: 800; text-decoration: none;
    border: 1px solid var(--primary); white-space: nowrap;
}
.bilhete-link-btn svg { width: 10px; height: 10px; }

.bilhete-assinatura-area { margin-top: 5px; display: flex; flex-direction: column; gap: 4px; }
.campo-assinatura-linha { font-size: 9px; border-bottom: 0.5px solid #cbd5e1; padding-bottom: 2px; color: #475569; }

.bilhete-footer {
    border-top: 1px solid #f1f5f9; padding-top: 3px; margin-top: 3px;
    display: flex; justify-content: space-between; align-items: center;
    flex-shrink: 0; flex-direction: row-reverse;
}
.bilhete-assinatura-texto { font-size: 10px; font-weight: 700; color: #64748b; flex: 1; text-align: right; }
.bilhete-propaganda {
    font-size: 6px; font-style: italic; font-weight: 800; color: #ffffff;
    text-align: center; padding: 2px 6px; background: var(--primary);
    border-radius: 3px; letter-spacing: 0px; text-transform: lowercase;
    max-width: 55%; white-space: nowrap; margin-right: 8px;
}

/* MENU HAMBURGUER */
.menu-toggle {
    display: none; position: fixed; top: 20px; right: 20px; z-index: 1001;
    width: 40px; height: 40px; background: var(--primary); border: none;
    border-radius: 8px; cursor: pointer; flex-direction: column;
    justify-content: center; align-items: center; gap: 5px;
    box-shadow: 0 4px 12px rgba(79,70,229,0.3);
}
.menu-toggle span { display: block; width: 24px; height: 3px; background: white; border-radius: 2px; transition: 0.3s; }
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* RESPONSIVIDADE */
@media (max-width: 1100px) { .folha-a4 { transform: scale(0.6); transform-origin: top center; } }
@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .sidebar {
        position: fixed; left: 0; top: 0; bottom: 0; width: 280px; z-index: 2000;
        transform: translateX(-100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 20px 0 50px rgba(0,0,0,0.1); display: flex !important; background: white;
    }
    .sidebar.open { transform: translateX(0); }
    .preview-area { padding: 20px; padding-top: 80px; }
    .folha-a4 { transform: scale(0.32); transform-origin: top center; }
    .sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(2px); z-index: 999; }
    .sidebar-overlay.active { display: block; }
}

@page { size: A4 portrait; margin: 0; }

@media print {
    body { background: white !important; margin: 0 !important; padding: 0 !important; width: 210mm; height: 297mm; -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
    .app-container { display: block !important; }
    .sidebar, .no-print, .menu-toggle, .sidebar-overlay, .modal-overlay { display: none !important; }
    .preview-area { padding: 0 !important; margin: 0 !important; background: white !important; height: auto !important; overflow: visible !important; display: block !important; }
    .folha-a4 { box-shadow: none !important; transform: none !important; margin: 0 !important; border: none !important; width: 210mm !important; height: 297mm !important; page-break-after: avoid; page-break-before: avoid; }
    .bilhete-card { border: 2px solid var(--primary) !important; background-color: white !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    .linha-corte-v, .linha-corte-h-meio, .linha-corte-h1, .linha-corte-h2 { border-color: #ddd !important; }
    * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
}

/* MODAL DE IMPRESSÃO */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(6px);
    display: none; align-items: center; justify-content: center; z-index: 9999;
    padding: 20px; animation: fadeIn 0.3s ease;
}
.modal-overlay.active { display: flex; }
.modal-content {
    background: var(--modal-bg-card); width: 100%; max-width: 500px;
    border-radius: 24px; overflow: hidden; animation: modalScaleUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(79, 70, 229, 0.1), 0 0 30px rgba(79, 70, 229, 0.15);
    position: relative;
}
.modal-content::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary-dark), var(--modal-accent), var(--modal-accent-light), var(--modal-accent), var(--primary-dark));
    border-radius: 20px 20px 0 0; z-index: 2;
}
.modal-header { padding: 36px 32px 20px; text-align: center; background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%); position: relative; }
.modal-icon {
    margin-bottom: 18px; display: inline-flex; align-items: center; justify-content: center;
    width: 84px; height: 84px; border-radius: 22px; color: var(--primary);
    background: linear-gradient(135deg, var(--primary-light) 0%, #dbeafe 100%);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.6);
}
.modal-icon svg { width: 40px; height: 40px; }
.modal-header h2 { font-size: 22px; font-weight: 800; color: var(--text-main); letter-spacing: -0.02em; }
.modal-body { padding: 24px 32px 28px; }
.modal-body p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 24px; text-align: center; font-weight: 500; }
.print-steps { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.print-steps li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); border-radius: 12px; border: 1px solid #e2e8f0; transition: 0.2s; }
.step-icon { width: 40px; height: 40px; border-radius: 10px; background: white; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06); display: flex; align-items: center; justify-content: center; }
.step-icon svg { width: 24px; height: 24px; color: var(--primary); }
.step-text { font-size: 13px; color: #334155; line-height: 1.4; }
.modal-footer { padding: 0 32px 32px; display: flex; gap: 12px; }
.btn-modal-cancel { flex: 1; padding: 14px; border: 1.5px solid #e2e8f0; background: white; color: #64748b; border-radius: 12px; font-size: 14px; font-weight: 600; cursor: pointer; transition: 0.2s; }
.btn-modal-confirm { flex: 2; padding: 14px; border: none; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%); color: white; border-radius: 12px; font-size: 14px; font-weight: 700; cursor: pointer; transition: 0.2s; box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15); }

@keyframes modalScaleUp { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* PDF Hidden container for generation */
#pdf-container {
    position: fixed;
    left: 0;
    top: 0;
    width: 794px;
    height: 1123px;
    min-width: 794px;
    min-height: 1123px;
    padding: 0;
    margin: 0;
    background: #ffffff;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    z-index: -1;
    display: block;
}

/* Folha A4 do PDF: o bilhete A6 fica centralizado e afastado das bordas. */
.pdf-page-a4 {
    width: 210mm !important;
    height: 297mm !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
}

/* Bilhete único em formato A6: 105 x 148 mm. */
.bilhete-card-pdf-a6 {
    width: 105mm !important;
    height: 148mm !important;
    min-width: 105mm !important;
    min-height: 148mm !important;
    max-width: 105mm !important;
    max-height: 148mm !important;
    flex: 0 0 105mm !important;
    padding: 6mm 7mm 5mm !important;
    border: 3px solid var(--primary) !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 5px rgba(15, 23, 42, 0.18) !important;
    overflow: hidden !important;
    justify-content: flex-start !important;
    background: #ffffff !important;
}
.bilhete-card-pdf-a6 .bilhete-header { margin-bottom: 5px; }
.bilhete-card-pdf-a6 .bilhete-logo-img { height: 25px; }
.bilhete-card-pdf-a6 .bilhete-image-wrapper { height: 57mm; margin-bottom: 6px; border-radius: 9px; border-width: 3px; }
.bilhete-card-pdf-a6 .bilhete-titulo { font-size: 13px; margin-bottom: 5px; }
.bilhete-card-pdf-a6 .bilhete-mensagem { font-size: 10px !important; line-height: 1.28; }
.bilhete-card-pdf-a6 .bilhete-mensagem p { margin-bottom: 3px; }
.bilhete-card-pdf-a6 .bilhete-links-area { margin-top: 5px; gap: 6px; }
.bilhete-card-pdf-a6 .bilhete-link-item { gap: 5px; }
.bilhete-card-pdf-a6 .qr-code-wrapper canvas,
.bilhete-card-pdf-a6 .qr-code-wrapper img { width: 43px !important; height: 43px !important; }
.bilhete-card-pdf-a6 .bilhete-link-btn { font-size: 8px; padding: 3px 6px; }
.bilhete-card-pdf-a6 .bilhete-assinatura-area { margin-top: 4px; }
.bilhete-card-pdf-a6 .bilhete-footer { margin-top: auto; padding-top: 3px; }
.bilhete-card-pdf-a6 .bilhete-assinatura-texto { font-size: 8px; }
.bilhete-card-pdf-a6 .bilhete-propaganda { font-size: 5px; padding: 2px 4px; }

/* Captura estável: A6 centralizado por coordenadas dentro do canvas A4. */
#pdf-container .bilhete-card-pdf-a6 {
    position: absolute !important;
    left: 198.5px !important;
    top: 282px !important;
    width: 397px !important;
    height: 559px !important;
    min-width: 397px !important;
    min-height: 559px !important;
    max-width: 397px !important;
    max-height: 559px !important;
    margin: 0 !important;
    transform: none !important;
}


