/* assets/css/input.css - Pinterest & Premium Input System */

.modal { display: none; position: fixed; z-index: 5000; inset: 0; background: rgba(0,0,0,0.9); backdrop-filter: blur(15px); align-items: center; justify-content: center; }
.modal.show { display: flex; }
.modal-content { background: #1a1a1a; padding: 40px; border-radius: 32px; width: 90%; max-width: 550px; border: 1px solid #333; position: relative; box-shadow: 0 40px 100px rgba(0,0,0,0.8); }

.input-text {
    width: 100%; background: rgba(255, 255, 255, 0.04); border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px; padding: 16px 20px; color: white; font-size: 1rem; font-weight: 500; outline: none; transition: 0.3s; margin-bottom: 20px;
}
.input-text:focus { border-color: var(--primary); background: rgba(255, 255, 255, 0.08); }

/* Pinterest Board Creator Specific Styles (Light Theme) */
.modal-content-white { 
    background: white; padding: 0; border-radius: 32px; width: 90%; max-width: 500px; 
    position: relative; box-shadow: 0 40px 100px rgba(0,0,0,0.5); overflow: hidden;
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes modalPop { from { opacity: 0; transform: scale(0.9) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.modal-header-pinterest { padding: 25px; display: flex; justify-content: center; align-items: center; position: relative; border-bottom: 1px solid #f0f0f0; }
.modal-header-pinterest h2 { margin: 0; font-size: 1.5rem; font-weight: 800; color: #111; }
.modal-body-pinterest { padding: 25px 32px 32px 32px; }

.close-lite { position: absolute; right: 20px; top: 20px; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; }
.close-lite:hover { background: #f0f0f0; }

.board-preview-mosaic {
    width: 140px; height: 100px; margin: 0 auto 32px auto;
    display: flex; gap: 2px; border-radius: 16px; overflow: hidden;
    background: #efefef;
}
.board-preview-mosaic .main-preview { flex: 2; background: #e0e0e0; }
.board-preview-mosaic .side-previews { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.board-preview-mosaic .side-top, .board-preview-mosaic .side-bottom { flex: 1; background: #e9e9e9; }

.pinterest-input-group {
    border: 2px solid #ddd; border-radius: 16px; padding: 12px 16px; margin-bottom: 25px; transition: 0.2s;
}
.pinterest-input-group:focus-within { border-color: #0076d3; }
.pinterest-input-group label { display: block; font-size: 0.8rem; font-weight: 700; color: #111; margin-bottom: 2px; }
.pinterest-input { width: 100%; border: none; outline: none; font-size: 1rem; color: #111; background: transparent; padding: 0; }

.pinterest-option-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.option-info strong { display: block; font-size: 1rem; color: #111; font-weight: 700; }
.option-info span { font-size: 0.85rem; color: #767676; }

.privacy-switch-lite { width: 40px; height: 24px; background: #ccc; border-radius: 50px; position: relative; cursor: pointer; transition: 0.3s; }
.privacy-switch-lite.active { background: #111; }
.privacy-knob-lite { width: 14px; height: 14px; background: white; border-radius: 50%; position: absolute; top: 5px; left: 5px; transition: 0.3s; }
.privacy-switch-lite.active .privacy-knob-lite { left: 21px; }

.btn-primary-pinterest {
    width: 100%; padding: 16px; border-radius: 50px; border: none;
    background: #e2e2e2; color: #767676; font-weight: 700; font-size: 1rem;
    cursor: not-allowed; transition: 0.3s;
}
.btn-primary-pinterest.active { background: var(--primary); color: white; cursor: pointer; }

.icon-btn-lite {
    width: 44px; height: 44px; border-radius: 50%; background: #efefef;
    display: flex; align-items: center; justify-content: center; color: #111;
    cursor: pointer; transition: 0.2s;
}
.icon-btn-lite:hover { background: #e2e2e2; }

/* Privacy Control Group (Dark Theme) */
.privacy-control-group {
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px; padding: 20px; margin-bottom: 25px;
}

.add-more-zone {
    border: 2px dashed rgba(255, 255, 255, 0.1); border-radius: 20px; padding: 30px;
    text-align: center; cursor: pointer; transition: 0.3s; color: var(--text-muted);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.add-more-zone:hover { border-color: var(--primary); color: white; background: rgba(255,255,255,0.02); }

.file-list-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 10px; margin-bottom: 20px; }
.preview-item { aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; position: relative; border: 1px solid rgba(255,255,255,0.1); }
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
