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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* ----------------- */
|
| 2 |
+
/* 🌞 Base Light Theme */
|
| 3 |
+
/* ----------------- */
|
| 4 |
+
body {
|
| 5 |
+
background-color: #f4f6f8;
|
| 6 |
+
font-family: 'Inter', 'Segoe UI', sans-serif;
|
| 7 |
+
font-size: 16px;
|
| 8 |
+
color: #212529;
|
| 9 |
+
margin: 0;
|
| 10 |
+
padding: 0;
|
| 11 |
+
transition: background-color 0.3s ease, color 0.3s ease;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
.container {
|
| 15 |
+
max-width: 1200px;
|
| 16 |
+
margin: auto;
|
| 17 |
+
padding: 2em;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
/* Typography */
|
| 21 |
+
h1, h2, h3, h4, h5, h6,
|
| 22 |
+
p, li, label, span {
|
| 23 |
+
color: #1e2b3a;
|
| 24 |
+
margin-bottom: 1em;
|
| 25 |
+
font-weight: 500;
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
/* Cards */
|
| 29 |
+
.card {
|
| 30 |
+
background: linear-gradient(to bottom right, #ffffff, #f9fbfd);
|
| 31 |
+
border-radius: 14px;
|
| 32 |
+
padding: 2em;
|
| 33 |
+
box-shadow: 0 6px 16px rgba(0,0,0,0.05);
|
| 34 |
+
margin-bottom: 2em;
|
| 35 |
+
animation: fadeInUp 0.4s ease forwards;
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
/* Inputs */
|
| 39 |
+
input[type="text"], select, textarea {
|
| 40 |
+
width: 100%;
|
| 41 |
+
padding: 0.75em 1em;
|
| 42 |
+
border: 1px solid #ced4da;
|
| 43 |
+
border-radius: 10px;
|
| 44 |
+
background-color: #ffffff;
|
| 45 |
+
font-size: 1rem;
|
| 46 |
+
transition: background-color 0.3s, border-color 0.3s, color 0.3s, transform 0.2s;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
input:focus, textarea:focus, select:focus {
|
| 50 |
+
border-color: #007bff;
|
| 51 |
+
outline: none;
|
| 52 |
+
box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
|
| 53 |
+
transform: scale(1.01);
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
/* Buttons */
|
| 57 |
+
button, .btn {
|
| 58 |
+
background: linear-gradient(to right, #0d6efd, #0b5ed7);
|
| 59 |
+
border: none;
|
| 60 |
+
color: #ffffff;
|
| 61 |
+
padding: 0.75em 1.5em;
|
| 62 |
+
border-radius: 10px;
|
| 63 |
+
font-size: 1rem;
|
| 64 |
+
font-weight: 600;
|
| 65 |
+
cursor: pointer;
|
| 66 |
+
transition: background 0.2s ease, transform 0.1s ease;
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
+
button:hover, .btn:hover {
|
| 70 |
+
background: linear-gradient(to right, #0b5ed7, #0a53be);
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
button:active, .btn:active {
|
| 74 |
+
transform: scale(0.96);
|
| 75 |
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) inset;
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
/* Navigation (Light Mode) */
|
| 79 |
+
.navbar,
|
| 80 |
+
.nav-tabs,
|
| 81 |
+
.nav-link,
|
| 82 |
+
.nav-item {
|
| 83 |
+
background-color: #ffffff;
|
| 84 |
+
color: #212529;
|
| 85 |
+
border-color: #dee2e6;
|
| 86 |
+
transition: background-color 0.3s, color 0.3s;
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
.nav-link.active {
|
| 90 |
+
background-color: #e9ecef;
|
| 91 |
+
color: #000;
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
|
| 95 |
+
/* ----------------- */
|
| 96 |
+
/* ✨ Animations */
|
| 97 |
+
/* ----------------- */
|
| 98 |
+
|
| 99 |
+
/* Global transition for everything */
|
| 100 |
+
body, body * {
|
| 101 |
+
transition:
|
| 102 |
+
background-color 0.3s ease,
|
| 103 |
+
color 0.3s ease,
|
| 104 |
+
border-color 0.3s ease,
|
| 105 |
+
box-shadow 0.3s ease,
|
| 106 |
+
transform 0.2s ease;
|
| 107 |
+
}
|
| 108 |
+
|
| 109 |
+
/* Fade-in for cards */
|
| 110 |
+
@keyframes fadeInUp {
|
| 111 |
+
from {
|
| 112 |
+
opacity: 0;
|
| 113 |
+
transform: translateY(20px);
|
| 114 |
+
}
|
| 115 |
+
to {
|
| 116 |
+
opacity: 1;
|
| 117 |
+
transform: translateY(0);
|
| 118 |
+
}
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
/* Nav hover underline */
|
| 122 |
+
.nav-link {
|
| 123 |
+
position: relative;
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
.nav-link::after {
|
| 127 |
+
content: "";
|
| 128 |
+
position: absolute;
|
| 129 |
+
bottom: 0;
|
| 130 |
+
left: 0;
|
| 131 |
+
height: 2px;
|
| 132 |
+
width: 0%;
|
| 133 |
+
background-color: currentColor;
|
| 134 |
+
transition: width 0.3s ease;
|
| 135 |
+
}
|
| 136 |
+
|
| 137 |
+
.nav-link:hover::after {
|
| 138 |
+
width: 100%;
|
| 139 |
+
}
|
| 140 |
+
|
| 141 |
+
/* Modal / panel zoom-in (if you use them) */
|
| 142 |
+
.modal, .panel, .popup {
|
| 143 |
+
opacity: 0;
|
| 144 |
+
transform: scale(0.96);
|
| 145 |
+
animation: zoomIn 0.3s ease forwards;
|
| 146 |
+
}
|
| 147 |
+
|
| 148 |
+
@keyframes zoomIn {
|
| 149 |
+
to {
|
| 150 |
+
opacity: 1;
|
| 151 |
+
transform: scale(1);
|
| 152 |
+
}
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
+
/* Tab transition */
|
| 156 |
+
.tab-pane {
|
| 157 |
+
opacity: 0;
|
| 158 |
+
transition: opacity 0.3s ease;
|
| 159 |
+
}
|
| 160 |
+
|
| 161 |
+
.tab-pane.active {
|
| 162 |
+
opacity: 1;
|
| 163 |
+
}
|