File size: 4,231 Bytes
edeea8b b89210e edeea8b b89210e edeea8b b89210e edeea8b b89210e edeea8b b89210e edeea8b b89210e edeea8b b89210e edeea8b b89210e 7fc9b70 edeea8b b89210e edeea8b 7fc9b70 edeea8b 7fc9b70 edeea8b b89210e edeea8b 6235ee9 edeea8b 394b42f edeea8b 394b42f b89210e edeea8b b89210e edeea8b b89210e 394b42f b89210e edeea8b 394b42f edeea8b b89210e db6743e b89210e db6743e b89210e db6743e b89210e db6743e b89210e edeea8b db6743e edeea8b 394b42f 7fc9b70 edeea8b 394b42f edeea8b 7fc9b70 9ecfd68 edeea8b 7cc5855 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 | /* Domino's Pizza AI Support - Premium CSS */
:root {
--dominos-blue: #006491;
--dominos-red: #E31837;
--dominos-white: #FFFFFF;
--bg-gradient: linear-gradient(135deg, #006491 0%, #004d70 100%);
--glass: rgba(255, 255, 255, 0.9);
--glass-border: rgba(255, 255, 255, 0.2);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
body {
height: 100vh;
width: 100vw;
background: var(--bg-gradient);
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.chat-container {
width: 100%;
max-width: 900px;
height: 90vh;
background: var(--glass);
backdrop-filter: blur(10px);
border-radius: 24px;
box-shadow: 0 20px 50px rgba(0,0,0,0.3);
display: flex;
flex-direction: column;
overflow: hidden;
border: 1px solid var(--glass-border);
}
.chat-header {
background: var(--dominos-white);
padding: 20px 30px;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 2px solid #eee;
z-index: 10;
}
.chat-header h2 {
color: var(--dominos-blue);
font-weight: 800;
font-size: 1.5rem;
display: flex;
align-items: center;
gap: 12px;
}
.chat-header img {
height: 40px;
}
.chat-box {
flex: 1;
padding: 30px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 20px;
background: rgba(245, 247, 250, 0.5);
scroll-behavior: smooth;
}
.chat-box::-webkit-scrollbar {
width: 6px;
}
.chat-box::-webkit-scrollbar-thumb {
background: rgba(0,0,0,0.1);
border-radius: 10px;
}
.message {
max-width: 75%;
padding: 16px 20px;
border-radius: 20px;
font-size: 1rem;
line-height: 1.6;
position: relative;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.message.user {
align-self: flex-end;
background: var(--dominos-blue);
color: white;
border-bottom-right-radius: 4px;
}
.message.bot {
align-self: flex-start;
background: white;
color: #333;
border-bottom-left-radius: 4px;
border-left: 4px solid var(--dominos-red);
}
.message.bot img.bot-logo {
width: 24px;
height: 24px;
margin-right: 10px;
vertical-align: middle;
}
/* AI Thinking Animation */
.thinking-container {
display: flex;
gap: 4px;
padding: 10px 0;
}
.thinking-dot {
width: 8px;
height: 8px;
background: var(--dominos-red);
border-radius: 50%;
animation: bounce 1.4s infinite ease-in-out both;
}
.thinking-dot:nth-child(1) { animation-delay: -0.32s; }
.thinking-dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce {
0%, 80%, 100% { transform: scale(0); }
40% { transform: scale(1); }
}
.chat-input {
background: white;
padding: 24px 30px;
display: flex;
gap: 15px;
align-items: flex-end;
border-top: 1px solid #eee;
}
.chat-input textarea {
flex: 1;
background: #f8f9fa;
border: 2px solid #eee;
border-radius: 16px;
padding: 14px 20px;
font-size: 1rem;
resize: none;
max-height: 120px;
outline: none;
transition: border-color 0.3s ease;
}
.chat-input textarea:focus {
border-color: var(--dominos-blue);
}
.chat-input button {
background: var(--dominos-blue);
color: white;
border: none;
border-radius: 50%;
width: 54px;
height: 54px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
box-shadow: 0 4px 12px rgba(0, 100, 145, 0.2);
flex-shrink: 0;
}
.chat-input button:hover {
background: #004d70;
transform: translateY(-2px) scale(1.05);
box-shadow: 0 6px 18px rgba(0, 100, 145, 0.3);
}
.chat-input button:active {
transform: translateY(0) scale(0.95);
}
/* Markdown Styling */
.message h1, .message h2, .message h3 {
margin: 10px 0;
color: var(--dominos-blue);
}
.message ul, .message ol {
margin-left: 20px;
}
.message li {
margin-bottom: 8px;
}
.message p {
margin-bottom: 12px;
}
/* Animations */
.slide-in-bottom {
animation: slideIn 0.4s ease-out forwards;
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
|