:root { --primary-color: #2b6777; --secondary-color: #4a5568; --accent-color: #38a169; --danger-color: #9b2c2c; --background-color: #f4f6f8; --card-color: #ffffff; --text-color: #1a202c; --light-text: #6b7280; --border-color: #e5e7eb; --shadow-color: rgba(0, 0, 0, 0.06); } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Roboto', sans-serif; background: linear-gradient(135deg, var(--background-color) 0%, #e2e8f0 100%); color: var(--text-color); line-height: 1.6; } .container { max-width: 1000px; margin: 2rem auto; padding: 1.5rem; } header { background: var(--card-color); padding: 2rem; border-radius: 16px; text-align: center; margin-bottom: 2.5rem; border: 1px solid var(--border-color); } header h1 { color: var(--primary-color); font-size: 2.75rem; font-weight: 700; letter-spacing: -0.03em; text-transform: uppercase; } .tagline { color: var(--light-text); font-size: 1.15rem; font-weight: 300; margin-top: 0.75rem; font-style: italic; } .description { background: linear-gradient(45deg, #ffffff, #f8fafc); border-radius: 16px; padding: 2rem; margin-bottom: 2.5rem; box-shadow: 0 10px 20px var(--shadow-color); text-align: left; font-size: 1rem; border-right: 4px solid var(--primary-color); } .form-container { background: var(--card-color); border-radius: 16px; padding: 2.5rem; margin-bottom: 2.5rem; box-shadow: 0 10px 20px var(--shadow-color); position: relative; overflow: hidden; } .form-container::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(to right, var(--primary-color), var(--accent-color)); } .form-group { margin-bottom: 2rem; position: relative; } label { display: inline-block; margin-bottom: 0.5rem; font-weight: 500; color: var(--secondary-color); font-size: 0.9rem; text-transform: uppercase; } textarea { width: 100%; padding: 1rem 1.25rem; border: none; border-radius: 10px; font-family: 'Roboto', sans-serif; font-size: 1rem; background: #f9fafb; transition: all 0.3s ease; box-shadow: inset 0 2px 4px var(--shadow-color); } textarea:focus { outline: none; background: #ffffff; box-shadow: 0 0 0 3px rgba(43, 103, 119, 0.15); } .file-input-container { display: grid; gap: 1.5rem; } input[type="file"] { padding: 0.75rem; background: #f9fafb; border-radius: 10px; border: 1px solid var(--border-color); } .file-preview-container { margin-top: 1rem; } #image-preview { max-width: 100%; max-height: 220px; border-radius: 12px; border: 2px solid var(--border-color); transition: transform 0.3s ease; } #image-preview:hover { transform: scale(1.02); } button { background: linear-gradient(45deg, var(--primary-color), #5187a0); color: white; border: none; padding: 1rem 2.5rem; border-radius: 50px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.5rem; } button:hover { background: linear-gradient(45deg, var(--secondary-color), #718096); transform: translateY(-2px); box-shadow: 0 4px 12px var(--shadow-color); } .loader { display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 3rem 0; padding: 2rem; background: var(--card-color); border-radius: 12px; } .spinner { border: 6px solid var(--border-color); border-radius: 50%; border-top: 6px solid var(--accent-color); width: 48px; height: 48px; animation: spin 0.9s ease-in-out infinite; margin-bottom: 1rem; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .result-container { background: var(--card-color); border-radius: 16px; margin-bottom: 2.5rem; box-shadow: 0 10px 20px var(--shadow-color); position: relative; border-left: 4px solid var(--accent-color); } .result-header { background: var(--secondary-color); color: white; padding: 1.5rem 2.5rem; border-radius: 12px 12px 0 0; } .result-header h2 { font-size: 1.6rem; font-weight: 500; letter-spacing: 0.05em; } .result-body { padding: 2.5rem; background: linear-gradient(180deg, #ffffff, #f9fafb); } .classification-result { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 1.5rem; border-radius: 12px; background: #f9fafb; margin-bottom: 2rem; border: 1px solid var(--border-color); } .classification-badge { padding: 0.75rem 2rem; border-radius: 25px; font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; } .classification-badge.true { background: rgba(56, 161, 105, 0.15); color: var(--accent-color); } .classification-badge.deceptive { background: rgba(155, 44, 44, 0.15); color: var(--danger-color); } .confidence { font-size: 1.05rem; font-weight: 500; color: var(--secondary-color); background: #ffffff; padding: 0.5rem 1rem; border-radius: 8px; } .uploaded-image-container { margin-bottom: 2.5rem; padding: 1.5rem; background: #f9fafb; border-radius: 12px; } .uploaded-image-container h3 { margin-bottom: 1.25rem; color: var(--primary-color); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; } #result-image { max-width: 100%; border-radius: 12px; border: 2px solid var(--border-color); transition: all 0.3s ease; } #result-image:hover { transform: scale(1.02); } .explanation-container h3 { margin-bottom: 1.25rem; color: var(--primary-color); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; } .explanation-text { background: #ffffff; padding: 2rem; border-radius: 12px; line-height: 1.7; font-size: 0.95rem; box-shadow: inset 0 2px 4px var(--shadow-color); border-left: 4px solid var(--accent-color); } footer { text-align: center; padding: 2.5rem 1rem; color: var(--light-text); font-size: 0.9rem; background: var(--card-color); border-radius: 16px; margin-top: 2rem; border: 1px solid var(--border-color); } @media (max-width: 768px) { .container { padding: 1rem; } header h1 { font-size: 2rem; } .form-container, .result-container { padding: 1.5rem; } .classification-result { grid-template-columns: 1fr; gap: 1.5rem; } button { width: 100%; padding: 1rem; } .description, .result-body { padding: 1.5rem; } }