* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; /*background: linear-gradient(135deg, #DFF4F5 0%, #89C2FF 100%);*/ background: #dff4f5; min-height: 100vh; padding: 20px; } .container { max-width: 1200px; margin: 0 auto; } header { background: #170035; color: white; padding: 30px; border-radius: 15px; margin-bottom: 30px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } h1 { font-size: 2.5em; margin-bottom: 10px; } .subtitle { color: #3ae5ff; font-size: 1.2em; } .controls { background: white; padding: 30px; border-radius: 15px; margin-bottom: 30px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .button-group { display: flex; gap: 15px; flex-wrap: wrap; } button { padding: 15px 30px; font-size: 1.1em; border: none; border-radius: 8px; cursor: pointer; transition: all 0.3s; font-weight: bold; } .btn-primary { background: #8409ff; color: white; } .btn-primary:hover { background: #6b07cc; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(132, 9, 255, 0.3); } .btn-danger { background: #ff4136; color: white; } .btn-danger:hover { background: #cc342b; transform: translateY(-2px); } .btn-secondary { background: #3ae5ff; color: #170035; } .btn-secondary:hover { background: #2bc4db; } .result-container { background: white; padding: 30px; border-radius: 15px; margin-bottom: 20px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); display: none; } .result-container.show { display: block; animation: slideIn 0.3s ease-out; } @keyframes slideIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } } .transaction-card { border-left: 5px solid #8409ff; padding: 20px; margin-bottom: 20px; background: #f8f9fa; border-radius: 8px; } .fraud-detected { border-left-color: #ff4136; background: #ffe6e6; } .fraud-safe { border-left-color: #2ecc40; background: #e6ffe6; } .detail-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #ddd; } .detail-row:last-child { border-bottom: none; } .label { font-weight: bold; color: #170035; } .value { color: #666; } .fraud-badge { display: inline-block; padding: 8px 16px; border-radius: 20px; font-weight: bold; font-size: 1.1em; } .badge-fraud { background: #ff4136; color: white; } .badge-safe { background: #2ecc40; color: white; } .loading { text-align: center; padding: 20px; font-size: 1.2em; color: #8409ff; } .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 20px; } .stat-card { background: #f8f9fa; padding: 20px; border-radius: 8px; text-align: center; } .stat-value { font-size: 2em; font-weight: bold; color: #8409ff; } .stat-label { color: #666; margin-top: 5px; }