:root { --primary-color: #e63946; --bg-color: #ffe4e6; /* Default Light Pink */ --popup-bg: #ffccd5; /* Default Light Red */ --bg-image: none; --text-color: #2d3436; --secondary-text: #636e72; --border-color: rgba(0,0,0,0.05); --font-family: 'Inter', system-ui, -apple-system, sans-serif; } body { background-color: var(--bg-color); background-image: var(--bg-image); background-size: cover; background-position: center; background-attachment: fixed; color: var(--text-color); font-family: var(--font-family); margin: 0; display: flex; justify-content: center; align-items: center; min-height: 100vh; overflow-x: hidden; } .admin-controls { position: fixed; top: 1rem; right: 1rem; display: flex; flex-direction: column; gap: 0.5rem; z-index: 100; align-items: flex-end; } .control-buttons { display: flex; gap: 0.5rem; } .admin-controls button { background: rgba(255, 255, 255, 0.8); border: none; border-radius: 50%; width: 36px; height: 36px; display: flex; justify-content: center; align-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: all 0.2s ease; color: var(--secondary-text); } .admin-controls button:hover { background: #fff; color: var(--primary-color); transform: scale(1.1); } .settings-panel { background: white; padding: 1rem; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); margin-top: 0.5rem; display: flex; flex-direction: column; gap: 0.75rem; width: 200px; animation: slideDown 0.3s ease; } @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } .settings-group { display: flex; flex-direction: column; gap: 0.25rem; } .settings-group label { font-size: 0.75rem; font-weight: 600; color: var(--secondary-text); } .settings-group input[type="color"] { width: 100%; height: 30px; border: 1px solid var(--border-color); border-radius: 4px; cursor: pointer; } .settings-group .btn-small { padding: 4px 8px; font-size: 0.7rem; background: #f1f2f6; border: 1px solid #dfe4ea; border-radius: 4px; cursor: pointer; } .container { max-width: 500px; width: 90%; text-align: center; padding: 2.5rem 2rem; border-radius: 20px; background: var(--popup-bg); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); transition: all 0.3s ease; position: relative; } h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 1.5rem; letter-spacing: -0.5px; color: var(--primary-color); } .image-preview-container { width: 100%; height: 250px; background-color: rgba(255, 255, 255, 0.5); border: 2px solid rgba(0,0,0,0.05); border-radius: 12px; margin-bottom: 1.5rem; display: flex; justify-content: center; align-items: center; overflow: hidden; position: relative; } .image-preview-container img { width: 100%; height: 100%; object-fit: cover; } .button-group { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2rem; position: relative; min-height: 60px; } .btn { padding: 0.75rem 1.75rem; font-size: 1rem; font-weight: 600; border-radius: 10px; border: none; cursor: pointer; transition: transform 0.1s ease, font-size 0.2s ease, background-color 0.2s ease; white-space: nowrap; } .btn-yes { background-color: var(--primary-color); color: white; z-index: 10; box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3); } .btn-yes:hover { background-color: #d62839; } .btn-no { background-color: #fff; color: var(--text-color); position: relative; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); } #success-message { display: none; animation: fadeIn 0.8s ease forwards; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .success-text { font-size: 1.25rem; line-height: 1.6; color: var(--primary-color); font-weight: 700; margin-bottom: 0.5rem; } .redirect-hint { margin-top: 2rem; font-size: 0.85rem; color: var(--secondary-text); font-style: italic; } #image-input, #bg-image-input { display: none; }