diff --git a/assets/css/custom.css b/assets/css/custom.css index 50e0502..bac0303 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -1,7 +1,5 @@ body { - background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab); - background-size: 400% 400%; - animation: gradient 15s ease infinite; + background-color: #f8f9fa; color: #212529; font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 14px; @@ -36,22 +34,20 @@ body { .chat-container { width: 100%; max-width: 600px; - background: rgba(255, 255, 255, 0.85); - border: 1px solid rgba(255, 255, 255, 0.3); + background: #ffffff; + border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 20px; display: flex; flex-direction: column; height: 85vh; - box-shadow: 0 20px 40px rgba(0,0,0,0.2); - backdrop-filter: blur(15px); - -webkit-backdrop-filter: blur(15px); + box-shadow: 0 10px 30px rgba(0,0,0,0.1); overflow: hidden; } .chat-header { padding: 1.5rem; border-bottom: 1px solid rgba(0, 0, 0, 0.05); - background: rgba(255, 255, 255, 0.5); + background: #f8f9fa; font-weight: 700; font-size: 1.1rem; display: flex; @@ -78,12 +74,12 @@ body { } ::-webkit-scrollbar-thumb { - background: rgba(255, 255, 255, 0.3); + background: rgba(0, 0, 0, 0.1); border-radius: 10px; } ::-webkit-scrollbar-thumb:hover { - background: rgba(255, 255, 255, 0.5); + background: rgba(0, 0, 0, 0.2); } .message { @@ -92,32 +88,32 @@ body { border-radius: 16px; line-height: 1.5; font-size: 0.95rem; - box-shadow: 0 4px 15px rgba(0,0,0,0.05); + box-shadow: 0 2px 5px rgba(0,0,0,0.05); animation: fadeIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); } @keyframes fadeIn { - from { opacity: 0; transform: translateY(20px) scale(0.95); } - to { opacity: 1; transform: translateY(0) scale(1); } + from { opacity: 0; transform: translateY(10px); } + to { opacity: 1; transform: translateY(0); } } .message.visitor { align-self: flex-end; - background: linear-gradient(135deg, #212529 0%, #343a40 100%); + background: #0d6efd; color: #fff; border-bottom-right-radius: 4px; } .message.bot { align-self: flex-start; - background: #ffffff; + background: #f1f3f5; color: #212529; border-bottom-left-radius: 4px; } .chat-input-area { padding: 1.25rem; - background: rgba(255, 255, 255, 0.5); + background: #fff; border-top: 1px solid rgba(0, 0, 0, 0.05); } @@ -132,17 +128,17 @@ body { border-radius: 12px; padding: 0.75rem 1rem; outline: none; - background: rgba(255, 255, 255, 0.9); + background: #fff; transition: all 0.3s ease; } .chat-input-area input:focus { - border-color: #23a6d5; - box-shadow: 0 0 0 3px rgba(35, 166, 213, 0.2); + border-color: #0d6efd; + box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1); } .chat-input-area button { - background: #212529; + background: #0d6efd; color: #fff; border: none; padding: 0.75rem 1.5rem; @@ -153,90 +149,34 @@ body { } .chat-input-area button:hover { - background: #000; - transform: translateY(-2px); - box-shadow: 0 5px 15px rgba(0,0,0,0.2); -} - -/* Background Animations */ -.bg-animations { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 0; - overflow: hidden; - pointer-events: none; -} - -.blob { - position: absolute; - width: 500px; - height: 500px; - background: rgba(255, 255, 255, 0.2); - border-radius: 50%; - filter: blur(80px); - animation: move 20s infinite alternate cubic-bezier(0.45, 0, 0.55, 1); -} - -.blob-1 { - top: -10%; - left: -10%; - background: rgba(238, 119, 82, 0.4); -} - -.blob-2 { - bottom: -10%; - right: -10%; - background: rgba(35, 166, 213, 0.4); - animation-delay: -7s; - width: 600px; - height: 600px; -} - -.blob-3 { - top: 40%; - left: 30%; - background: rgba(231, 60, 126, 0.3); - animation-delay: -14s; - width: 450px; - height: 450px; -} - -@keyframes move { - 0% { transform: translate(0, 0) rotate(0deg) scale(1); } - 33% { transform: translate(150px, 100px) rotate(120deg) scale(1.1); } - 66% { transform: translate(-50px, 200px) rotate(240deg) scale(0.9); } - 100% { transform: translate(0, 0) rotate(360deg) scale(1); } + background: #0b5ed7; + transform: translateY(-1px); } .admin-link { font-size: 14px; - color: #fff; + color: #6c757d; text-decoration: none; - background: rgba(0, 0, 0, 0.2); + background: rgba(0, 0, 0, 0.05); padding: 0.5rem 1rem; border-radius: 8px; transition: all 0.3s ease; } .admin-link:hover { - background: rgba(0, 0, 0, 0.4); + background: rgba(0, 0, 0, 0.1); text-decoration: none; } /* Admin Styles */ .admin-container { max-width: 900px; - margin: 3rem auto; - padding: 2.5rem; - background: rgba(255, 255, 255, 0.85); - backdrop-filter: blur(20px); - -webkit-backdrop-filter: blur(20px); - border-radius: 24px; - box-shadow: 0 20px 50px rgba(0,0,0,0.15); - border: 1px solid rgba(255, 255, 255, 0.4); + margin: 2rem auto; + padding: 2rem; + background: #fff; + border-radius: 16px; + box-shadow: 0 5px 20px rgba(0,0,0,0.05); + border: 1px solid rgba(0, 0, 0, 0.05); position: relative; z-index: 1; } @@ -244,7 +184,7 @@ body { .admin-container h1 { margin-top: 0; color: #212529; - font-weight: 800; + font-weight: 700; } .table { @@ -268,11 +208,12 @@ body { .table td { background: #fff; padding: 1rem; - border: none; + border-top: 1px solid #f1f3f5; + border-bottom: 1px solid #f1f3f5; } -.table tr td:first-child { border-radius: 12px 0 0 12px; } -.table tr td:last-child { border-radius: 0 12px 12px 0; } +.table tr td:first-child { border-left: 1px solid #f1f3f5; border-radius: 8px 0 0 8px; } +.table tr td:last-child { border-right: 1px solid #f1f3f5; border-radius: 0 8px 8px 0; } .form-group { margin-bottom: 1.25rem; @@ -289,7 +230,7 @@ body { width: 100%; padding: 0.75rem 1rem; border: 1px solid rgba(0, 0, 0, 0.1); - border-radius: 12px; + border-radius: 8px; background: #fff; transition: all 0.3s ease; box-sizing: border-box; @@ -297,6 +238,6 @@ body { .form-control:focus { outline: none; - border-color: #23a6d5; - box-shadow: 0 0 0 3px rgba(35, 166, 213, 0.1); -} \ No newline at end of file + border-color: #0d6efd; + box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1); +} diff --git a/charity-settings.php b/charity-settings.php index 9cb3f8b..1f88b0c 100644 --- a/charity-settings.php +++ b/charity-settings.php @@ -55,7 +55,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['update_charity'])) { $stmt = db()->prepare("UPDATE charity_settings SET charity_name = ?, charity_email = ?, charity_phone = ?, charity_address = ?, charity_logo = ?, charity_favicon = ? WHERE id = 1"); $stmt->execute([$charity_name, $charity_email, $charity_phone, $charity_address, $charity_logo, $charity_favicon]); - $_SESSION['success'] = 'تم تحديث إعدادات الجمعية بنجاح'; + $_SESSION['success'] = 'تم تحديث إعدادات النظام بنجاح'; redirect('charity-settings.php'); } @@ -155,7 +155,7 @@ $email_logs = db()->query("SELECT * FROM email_logs ORDER BY id DESC LIMIT 50")-