Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -227,12 +227,12 @@ CATALOG_TEMPLATE = '''
|
|
| 227 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
| 228 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 229 |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 230 |
-
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=
|
| 231 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/10.2.0/swiper-bundle.min.css">
|
| 232 |
<style>
|
| 233 |
:root {
|
| 234 |
-
--primary-color: #
|
| 235 |
-
--primary-dark: #
|
| 236 |
--surface-color: #1A1A1A;
|
| 237 |
--background-color: #121212;
|
| 238 |
--text-color: #F5F5F5;
|
|
@@ -242,7 +242,7 @@ CATALOG_TEMPLATE = '''
|
|
| 242 |
}
|
| 243 |
* { margin: 0; padding: 0; box-sizing: border-box; }
|
| 244 |
body {
|
| 245 |
-
font-family: '
|
| 246 |
background: var(--background-color);
|
| 247 |
color: var(--text-color);
|
| 248 |
line-height: 1.6;
|
|
@@ -253,7 +253,7 @@ CATALOG_TEMPLATE = '''
|
|
| 253 |
|
| 254 |
.header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background: rgba(18, 18, 18, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; }
|
| 255 |
.logo-title-container { display: flex; align-items: center; gap: 15px; }
|
| 256 |
-
.logo-title-container img { height: 45px; width: 45px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 10px rgba(
|
| 257 |
.header h1 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 700; color: var(--text-color); }
|
| 258 |
|
| 259 |
.store-addresses { padding: 20px; text-align: center; background-color: var(--surface-color); border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.5); font-size: 0.95rem; color: var(--text-color-muted); margin: 20px; }
|
|
@@ -262,18 +262,18 @@ CATALOG_TEMPLATE = '''
|
|
| 262 |
|
| 263 |
.search-container { padding: 0 20px 20px; }
|
| 264 |
#search-input { width: 100%; padding: 12px 20px; font-size: 1rem; border: 1px solid var(--border-color); border-radius: 50px; outline: none; transition: all 0.3s; background-color: var(--surface-color); color: var(--text-color); }
|
| 265 |
-
#search-input:focus { border-color: var(--primary-color); box-shadow: 0 0 0 4px rgba(
|
| 266 |
|
| 267 |
.filters-container { margin: 0 20px 20px; display: flex; overflow-x: auto; gap: 10px; padding-bottom: 10px; scrollbar-width: none; -ms-overflow-style: none; }
|
| 268 |
.filters-container::-webkit-scrollbar { display: none; }
|
| 269 |
.category-filter { padding: 8px 18px; border: 1px solid var(--border-color); border-radius: 50px; background-color: transparent; cursor: pointer; transition: all 0.3s ease; font-size: 0.9rem; font-weight: 400; color: var(--text-color-muted); white-space: nowrap; }
|
| 270 |
-
.category-filter.active, .category-filter:hover { background-color: var(--primary-color); color: #
|
| 271 |
|
| 272 |
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; padding: 0 20px 120px; }
|
| 273 |
@media (min-width: 600px) { .products-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; } }
|
| 274 |
|
| 275 |
.product { background: var(--surface-color); border-radius: 16px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); transition: all 0.3s ease; overflow: hidden; display: flex; flex-direction: column; height: 100%; position: relative; border: 1px solid var(--border-color); }
|
| 276 |
-
.product:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(
|
| 277 |
|
| 278 |
.product-image { width: 100%; aspect-ratio: 1 / 1; background-color: #000; display: flex; justify-content: center; align-items: center; padding: 10px; }
|
| 279 |
.product-image img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.3s ease; }
|
|
@@ -285,11 +285,11 @@ CATALOG_TEMPLATE = '''
|
|
| 285 |
.product-description { display: none; }
|
| 286 |
.product-actions { padding: 0 15px 15px; }
|
| 287 |
|
| 288 |
-
.product-button { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 10px; border: none; border-radius: 50px; background-color: var(--primary-color); color: #
|
| 289 |
-
.product-button:hover { background-color: var(--primary-dark); box-shadow: 0 4px 10px rgba(
|
| 290 |
.product-button i { margin-right: 8px; }
|
| 291 |
|
| 292 |
-
.fab { position: fixed; background-color: var(--primary-color); color: #
|
| 293 |
.fab:hover { transform: scale(1.1); }
|
| 294 |
#cart-button { bottom: 20px; right: 20px; display: none; }
|
| 295 |
#cart-button span { position: absolute; top: -2px; right: -2px; background-color: #dc3545; color: white; border-radius: 50%; padding: 3px 7px; font-size: 0.75rem; font-weight: bold; min-width: 22px; text-align: center; }
|
|
@@ -321,10 +321,10 @@ CATALOG_TEMPLATE = '''
|
|
| 321 |
.clear-cart { background: #444; color: var(--text-color); }
|
| 322 |
.clear-cart:hover { background: #555; }
|
| 323 |
|
| 324 |
-
.notification { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); background-color: var(--primary-color); color: #
|
| 325 |
.notification.show { opacity: 1; bottom: 90px; }
|
| 326 |
.no-results-message { grid-column: 1 / -1; text-align: center; padding: 50px; font-size: 1.2rem; color: var(--text-color-muted); }
|
| 327 |
-
.top-product-indicator { position: absolute; top: 10px; right: 10px; background: linear-gradient(135deg, #
|
| 328 |
|
| 329 |
#whatsapp-fab { bottom: 20px; left: 20px; background-color: #25D366; color: white; }
|
| 330 |
#whatsapp-modal { display: none; position: fixed; bottom: 85px; left: 20px; background-color: var(--surface-color); border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.6); z-index: 1001; overflow: hidden; border: 1px solid var(--border-color); animation: fadeIn 0.3s; }
|
|
@@ -826,19 +826,19 @@ ORDER_TEMPLATE = '''
|
|
| 826 |
<title>Заказ №{{ order.id }} - SHAIK парфюм</title>
|
| 827 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 828 |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 829 |
-
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=
|
| 830 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
| 831 |
<style>
|
| 832 |
:root {
|
| 833 |
-
--primary-color: #
|
| 834 |
-
--primary-dark: #
|
| 835 |
--surface-color: #1A1A1A;
|
| 836 |
--background-color: #121212;
|
| 837 |
--text-color: #F5F5F5;
|
| 838 |
--text-color-muted: #999;
|
| 839 |
--border-color: #333333;
|
| 840 |
}
|
| 841 |
-
body { font-family: '
|
| 842 |
.container { max-width: 800px; margin: 20px auto; padding: 30px; background: var(--surface-color); border-radius: 16px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); border: 1px solid var(--border-color); }
|
| 843 |
h1, h2 { font-family: 'Cormorant Garamond', serif; color: var(--primary-color); }
|
| 844 |
h1 { text-align: center; margin-bottom: 25px; font-size: 2.2rem; font-weight: 700; }
|
|
@@ -853,7 +853,7 @@ ORDER_TEMPLATE = '''
|
|
| 853 |
.order-summary { margin-top: 30px; padding-top: 20px; border-top: 2px solid var(--primary-color); text-align: right; }
|
| 854 |
.order-summary p { margin-bottom: 10px; font-size: 1.1rem; }
|
| 855 |
.order-summary strong { font-size: 1.5rem; color: var(--primary-color); }
|
| 856 |
-
.customer-info { margin-top: 30px; background-color: rgba(
|
| 857 |
.customer-info p { margin-bottom: 8px; font-size: 1rem; }
|
| 858 |
.customer-info strong { color: var(--text-color); }
|
| 859 |
.actions { margin-top: 30px; text-align: center; }
|
|
@@ -938,12 +938,12 @@ ADMIN_TEMPLATE = '''
|
|
| 938 |
<title>Админ-панель - SHAIK парфюм</title>
|
| 939 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 940 |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 941 |
-
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600&family=
|
| 942 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
| 943 |
<style>
|
| 944 |
:root {
|
| 945 |
-
--primary-color: #
|
| 946 |
-
--primary-dark: #
|
| 947 |
--surface-color: #1A1A1A;
|
| 948 |
--background-color: #121212;
|
| 949 |
--text-color: #F5F5F5;
|
|
@@ -956,7 +956,7 @@ ADMIN_TEMPLATE = '''
|
|
| 956 |
--warning-bg: #4a3a09;
|
| 957 |
--warning-text: #ffd56b;
|
| 958 |
}
|
| 959 |
-
body { font-family: '
|
| 960 |
.container { max-width: 1200px; margin: 0 auto; background-color: var(--surface-color); padding: 25px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.5); border: 1px solid var(--border-color); }
|
| 961 |
.header { padding-bottom: 20px; margin-bottom: 25px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px;}
|
| 962 |
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 600; color: var(--primary-color); margin:0 0 15px 0;}
|
|
@@ -967,12 +967,12 @@ ADMIN_TEMPLATE = '''
|
|
| 967 |
|
| 968 |
label { font-weight: 500; margin-top: 12px; display: block; color: var(--text-color); font-size: 0.9rem;}
|
| 969 |
input[type="text"], input[type="number"], input[type="password"], input[type="tel"], textarea, select { width: 100%; padding: 10px 12px; margin-top: 6px; border: 1px solid var(--border-color); border-radius: 6px; font-size: 0.95rem; box-sizing: border-box; transition: border-color 0.3s ease; background-color: var(--background-color); color: var(--text-color); }
|
| 970 |
-
input:focus, textarea:focus, select:focus { border-color: var(--primary-color); outline: none; box-shadow: 0 0 0 3px rgba(
|
| 971 |
textarea { min-height: 90px; resize: vertical; }
|
| 972 |
input[type="file"] { padding: 8px; background-color: #222; cursor: pointer; border: 1px solid var(--border-color); border-radius: 6px; }
|
| 973 |
input[type="checkbox"] { transform: scale(1.2); margin-right: 8px; vertical-align: middle; accent-color: var(--primary-color); }
|
| 974 |
|
| 975 |
-
button, .button { padding: 9px 18px; border: none; border-radius: 50px; background-color: var(--primary-color); color: #
|
| 976 |
button:hover, .button:hover { background-color: var(--primary-dark); transform: translateY(-1px); }
|
| 977 |
.delete-button { background-color: #8B0000; color: white; }
|
| 978 |
.delete-button:hover { background-color: #6e0000; }
|
|
|
|
| 227 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
| 228 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 229 |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 230 |
+
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Georgia&display=swap" rel="stylesheet">
|
| 231 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/10.2.0/swiper-bundle.min.css">
|
| 232 |
<style>
|
| 233 |
:root {
|
| 234 |
+
--primary-color: #FF3B30;
|
| 235 |
+
--primary-dark: #D9322A;
|
| 236 |
--surface-color: #1A1A1A;
|
| 237 |
--background-color: #121212;
|
| 238 |
--text-color: #F5F5F5;
|
|
|
|
| 242 |
}
|
| 243 |
* { margin: 0; padding: 0; box-sizing: border-box; }
|
| 244 |
body {
|
| 245 |
+
font-family: 'Georgia', serif;
|
| 246 |
background: var(--background-color);
|
| 247 |
color: var(--text-color);
|
| 248 |
line-height: 1.6;
|
|
|
|
| 253 |
|
| 254 |
.header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background: rgba(18, 18, 18, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; }
|
| 255 |
.logo-title-container { display: flex; align-items: center; gap: 15px; }
|
| 256 |
+
.logo-title-container img { height: 45px; width: 45px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 10px rgba(255, 59, 48, 0.5); }
|
| 257 |
.header h1 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 700; color: var(--text-color); }
|
| 258 |
|
| 259 |
.store-addresses { padding: 20px; text-align: center; background-color: var(--surface-color); border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.5); font-size: 0.95rem; color: var(--text-color-muted); margin: 20px; }
|
|
|
|
| 262 |
|
| 263 |
.search-container { padding: 0 20px 20px; }
|
| 264 |
#search-input { width: 100%; padding: 12px 20px; font-size: 1rem; border: 1px solid var(--border-color); border-radius: 50px; outline: none; transition: all 0.3s; background-color: var(--surface-color); color: var(--text-color); }
|
| 265 |
+
#search-input:focus { border-color: var(--primary-color); box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.2); }
|
| 266 |
|
| 267 |
.filters-container { margin: 0 20px 20px; display: flex; overflow-x: auto; gap: 10px; padding-bottom: 10px; scrollbar-width: none; -ms-overflow-style: none; }
|
| 268 |
.filters-container::-webkit-scrollbar { display: none; }
|
| 269 |
.category-filter { padding: 8px 18px; border: 1px solid var(--border-color); border-radius: 50px; background-color: transparent; cursor: pointer; transition: all 0.3s ease; font-size: 0.9rem; font-weight: 400; color: var(--text-color-muted); white-space: nowrap; }
|
| 270 |
+
.category-filter.active, .category-filter:hover { background-color: var(--primary-color); color: #fff; border-color: var(--primary-color); font-weight: 500; box-shadow: 0 2px 8px rgba(255, 59, 48, 0.3); transform: translateY(-2px); }
|
| 271 |
|
| 272 |
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; padding: 0 20px 120px; }
|
| 273 |
@media (min-width: 600px) { .products-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; } }
|
| 274 |
|
| 275 |
.product { background: var(--surface-color); border-radius: 16px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); transition: all 0.3s ease; overflow: hidden; display: flex; flex-direction: column; height: 100%; position: relative; border: 1px solid var(--border-color); }
|
| 276 |
+
.product:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(255, 59, 48, 0.15); border-color: var(--primary-color); }
|
| 277 |
|
| 278 |
.product-image { width: 100%; aspect-ratio: 1 / 1; background-color: #000; display: flex; justify-content: center; align-items: center; padding: 10px; }
|
| 279 |
.product-image img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.3s ease; }
|
|
|
|
| 285 |
.product-description { display: none; }
|
| 286 |
.product-actions { padding: 0 15px 15px; }
|
| 287 |
|
| 288 |
+
.product-button { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 10px; border: none; border-radius: 50px; background-color: var(--primary-color); color: #fff; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.3s ease; text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; }
|
| 289 |
+
.product-button:hover { background-color: var(--primary-dark); box-shadow: 0 4px 10px rgba(255, 59, 48, 0.4); }
|
| 290 |
.product-button i { margin-right: 8px; }
|
| 291 |
|
| 292 |
+
.fab { position: fixed; background-color: var(--primary-color); color: #fff; border: none; border-radius: 50%; width: 55px; height: 55px; font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(255, 59, 48, 0.4); z-index: 1000; transition: transform 0.2s ease; }
|
| 293 |
.fab:hover { transform: scale(1.1); }
|
| 294 |
#cart-button { bottom: 20px; right: 20px; display: none; }
|
| 295 |
#cart-button span { position: absolute; top: -2px; right: -2px; background-color: #dc3545; color: white; border-radius: 50%; padding: 3px 7px; font-size: 0.75rem; font-weight: bold; min-width: 22px; text-align: center; }
|
|
|
|
| 321 |
.clear-cart { background: #444; color: var(--text-color); }
|
| 322 |
.clear-cart:hover { background: #555; }
|
| 323 |
|
| 324 |
+
.notification { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); background-color: var(--primary-color); color: #fff; padding: 12px 25px; border-radius: 50px; box-shadow: 0 4px 15px rgba(0,0,0,0.5); z-index: 1002; opacity: 0; transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); font-size: 0.95rem; font-weight: 500; }
|
| 325 |
.notification.show { opacity: 1; bottom: 90px; }
|
| 326 |
.no-results-message { grid-column: 1 / -1; text-align: center; padding: 50px; font-size: 1.2rem; color: var(--text-color-muted); }
|
| 327 |
+
.top-product-indicator { position: absolute; top: 10px; right: 10px; background: linear-gradient(135deg, #FF3B30, #D9322A); color: #fff; padding: 3px 8px; font-size: 0.7rem; border-radius: 50px; font-weight: bold; z-index: 10; display: flex; align-items: center; gap: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.5); }
|
| 328 |
|
| 329 |
#whatsapp-fab { bottom: 20px; left: 20px; background-color: #25D366; color: white; }
|
| 330 |
#whatsapp-modal { display: none; position: fixed; bottom: 85px; left: 20px; background-color: var(--surface-color); border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.6); z-index: 1001; overflow: hidden; border: 1px solid var(--border-color); animation: fadeIn 0.3s; }
|
|
|
|
| 826 |
<title>Заказ №{{ order.id }} - SHAIK парфюм</title>
|
| 827 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 828 |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 829 |
+
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Georgia&display=swap" rel="stylesheet">
|
| 830 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
| 831 |
<style>
|
| 832 |
:root {
|
| 833 |
+
--primary-color: #FF3B30;
|
| 834 |
+
--primary-dark: #D9322A;
|
| 835 |
--surface-color: #1A1A1A;
|
| 836 |
--background-color: #121212;
|
| 837 |
--text-color: #F5F5F5;
|
| 838 |
--text-color-muted: #999;
|
| 839 |
--border-color: #333333;
|
| 840 |
}
|
| 841 |
+
body { font-family: 'Georgia', serif; background: var(--background-color); color: var(--text-color); line-height: 1.6; padding: 15px; }
|
| 842 |
.container { max-width: 800px; margin: 20px auto; padding: 30px; background: var(--surface-color); border-radius: 16px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); border: 1px solid var(--border-color); }
|
| 843 |
h1, h2 { font-family: 'Cormorant Garamond', serif; color: var(--primary-color); }
|
| 844 |
h1 { text-align: center; margin-bottom: 25px; font-size: 2.2rem; font-weight: 700; }
|
|
|
|
| 853 |
.order-summary { margin-top: 30px; padding-top: 20px; border-top: 2px solid var(--primary-color); text-align: right; }
|
| 854 |
.order-summary p { margin-bottom: 10px; font-size: 1.1rem; }
|
| 855 |
.order-summary strong { font-size: 1.5rem; color: var(--primary-color); }
|
| 856 |
+
.customer-info { margin-top: 30px; background-color: rgba(255, 59, 48, 0.05); padding: 20px; border-radius: 12px; border: 1px solid var(--primary-color);}
|
| 857 |
.customer-info p { margin-bottom: 8px; font-size: 1rem; }
|
| 858 |
.customer-info strong { color: var(--text-color); }
|
| 859 |
.actions { margin-top: 30px; text-align: center; }
|
|
|
|
| 938 |
<title>Админ-панель - SHAIK парфюм</title>
|
| 939 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 940 |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 941 |
+
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600&family=Georgia&display=swap" rel="stylesheet">
|
| 942 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
| 943 |
<style>
|
| 944 |
:root {
|
| 945 |
+
--primary-color: #FF3B30;
|
| 946 |
+
--primary-dark: #D9322A;
|
| 947 |
--surface-color: #1A1A1A;
|
| 948 |
--background-color: #121212;
|
| 949 |
--text-color: #F5F5F5;
|
|
|
|
| 956 |
--warning-bg: #4a3a09;
|
| 957 |
--warning-text: #ffd56b;
|
| 958 |
}
|
| 959 |
+
body { font-family: 'Georgia', serif; background-color: var(--background-color); color: var(--text-color); padding: 15px; line-height: 1.5; }
|
| 960 |
.container { max-width: 1200px; margin: 0 auto; background-color: var(--surface-color); padding: 25px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.5); border: 1px solid var(--border-color); }
|
| 961 |
.header { padding-bottom: 20px; margin-bottom: 25px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px;}
|
| 962 |
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 600; color: var(--primary-color); margin:0 0 15px 0;}
|
|
|
|
| 967 |
|
| 968 |
label { font-weight: 500; margin-top: 12px; display: block; color: var(--text-color); font-size: 0.9rem;}
|
| 969 |
input[type="text"], input[type="number"], input[type="password"], input[type="tel"], textarea, select { width: 100%; padding: 10px 12px; margin-top: 6px; border: 1px solid var(--border-color); border-radius: 6px; font-size: 0.95rem; box-sizing: border-box; transition: border-color 0.3s ease; background-color: var(--background-color); color: var(--text-color); }
|
| 970 |
+
input:focus, textarea:focus, select:focus { border-color: var(--primary-color); outline: none; box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.2); }
|
| 971 |
textarea { min-height: 90px; resize: vertical; }
|
| 972 |
input[type="file"] { padding: 8px; background-color: #222; cursor: pointer; border: 1px solid var(--border-color); border-radius: 6px; }
|
| 973 |
input[type="checkbox"] { transform: scale(1.2); margin-right: 8px; vertical-align: middle; accent-color: var(--primary-color); }
|
| 974 |
|
| 975 |
+
button, .button { padding: 9px 18px; border: none; border-radius: 50px; background-color: var(--primary-color); color: #fff; font-weight: 500; cursor: pointer; transition: all 0.2s ease; margin-top: 15px; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.5px; }
|
| 976 |
button:hover, .button:hover { background-color: var(--primary-dark); transform: translateY(-1px); }
|
| 977 |
.delete-button { background-color: #8B0000; color: white; }
|
| 978 |
.delete-button:hover { background-color: #6e0000; }
|