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 |
+
margin: 0;
|
| 4 |
+
padding: 0;
|
| 5 |
+
background: linear-gradient(120deg, #e0f7fa 0%, #f4f4f9 100%);
|
| 6 |
+
min-height: 100vh;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
.container {
|
| 10 |
+
max-width: 800px;
|
| 11 |
+
margin: 20px auto;
|
| 12 |
+
background: white;
|
| 13 |
+
padding: 20px;
|
| 14 |
+
border-radius: 10px;
|
| 15 |
+
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
h1, h2 {
|
| 19 |
+
color: #00796b;
|
| 20 |
+
text-align: center;
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
.form-group {
|
| 24 |
+
margin-bottom: 15px;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
label {
|
| 28 |
+
display: block;
|
| 29 |
+
margin-bottom: 5px;
|
| 30 |
+
color: #333;
|
| 31 |
+
font-weight: bold;
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
input[type="text"],
|
| 35 |
+
input[type="email"],
|
| 36 |
+
input[type="password"],
|
| 37 |
+
textarea,
|
| 38 |
+
select {
|
| 39 |
+
width: 100%;
|
| 40 |
+
padding: 10px;
|
| 41 |
+
border: 1px solid #ccc;
|
| 42 |
+
border-radius: 5px;
|
| 43 |
+
font-size: 16px;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
.button {
|
| 47 |
+
display: block;
|
| 48 |
+
width: 100%;
|
| 49 |
+
padding: 10px;
|
| 50 |
+
background-color: #00796b;
|
| 51 |
+
color: white;
|
| 52 |
+
text-align: center;
|
| 53 |
+
border-radius: 5px;
|
| 54 |
+
font-size: 16px;
|
| 55 |
+
border: none;
|
| 56 |
+
cursor: pointer;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
.button:hover {
|
| 60 |
+
background-color: #005a4f;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
.flash-messages .success {
|
| 64 |
+
color: #2e7d32;
|
| 65 |
+
background: #e8f5e9;
|
| 66 |
+
padding: 8px 12px;
|
| 67 |
+
border-radius: 4px;
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
.flash-messages .danger {
|
| 71 |
+
color: #c62828;
|
| 72 |
+
background: #ffebee;
|
| 73 |
+
padding: 8px 12px;
|
| 74 |
+
border-radius: 4px;
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
header {
|
| 78 |
+
background-color: #00796b;
|
| 79 |
+
color: white;
|
| 80 |
+
padding: 10px 20px;
|
| 81 |
+
display: flex;
|
| 82 |
+
justify-content: space-between;
|
| 83 |
+
position: fixed;
|
| 84 |
+
top: 0;
|
| 85 |
+
width: 100%;
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
nav a {
|
| 89 |
+
color: white;
|
| 90 |
+
text-decoration: none;
|
| 91 |
+
padding: 8px 16px;
|
| 92 |
+
border: 1px solid white;
|
| 93 |
+
border-radius: 5px;
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
nav a:hover {
|
| 97 |
+
background-color: white;
|
| 98 |
+
color: #00796b;
|
| 99 |
+
}
|
| 100 |
+
|
| 101 |
+
.card {
|
| 102 |
+
background: #f4f4f9;
|
| 103 |
+
padding: 15px;
|
| 104 |
+
margin-bottom: 10px;
|
| 105 |
+
border-radius: 5px;
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
.progress-bar {
|
| 109 |
+
background-color: #e0f7fa;
|
| 110 |
+
border-radius: 5px;
|
| 111 |
+
overflow: hidden;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.progress-bar-fill {
|
| 115 |
+
background-color: #00796b;
|
| 116 |
+
height: 20px;
|
| 117 |
+
transition: width 0.3s ease;
|
| 118 |
+
}
|
| 119 |
+
|
| 120 |
+
.badge {
|
| 121 |
+
display: inline-block;
|
| 122 |
+
background-color: #2e7d32;
|
| 123 |
+
color: white;
|
| 124 |
+
padding: 5px 10px;
|
| 125 |
+
border-radius: 15px;
|
| 126 |
+
margin: 5px;
|
| 127 |
+
}
|
| 128 |
+
|
| 129 |
+
.chat-container {
|
| 130 |
+
border: 1px solid #ccc;
|
| 131 |
+
padding: 10px;
|
| 132 |
+
max-height: 300px;
|
| 133 |
+
overflow-y: auto;
|
| 134 |
+
}
|
| 135 |
+
|
| 136 |
+
.rating {
|
| 137 |
+
display: inline-block;
|
| 138 |
+
font-size: 20px;
|
| 139 |
+
cursor: pointer;
|
| 140 |
+
}
|
| 141 |
+
|
| 142 |
+
.rating .star.filled {
|
| 143 |
+
color: #ffd700;
|
| 144 |
+
}
|