🏃 Всего пробег
@@ -29,7 +53,7 @@
-
+
@@ -41,7 +65,74 @@
@@ -49,6 +140,66 @@ export default {
.profile-header {
text-align: center;
margin-bottom: 2rem;
+ padding: 1.5rem;
+ background: white;
+ border-radius: 10px;
+ box-shadow: 0 2px 8px rgba(0,0,0,0.1);
+}
+
+.user-email {
+ color: #666;
+ margin: 0.5rem 0;
+}
+
+.user-phone {
+ color: #666;
+ margin: 0.5rem 0;
+}
+
+.profile-info {
+ background: white;
+ padding: 1.5rem;
+ border-radius: 10px;
+ box-shadow: 0 2px 8px rgba(0,0,0,0.1);
+ margin-bottom: 2rem;
+}
+
+.info-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 1rem;
+ margin-top: 1rem;
+}
+
+.info-item {
+ display: flex;
+ flex-direction: column;
+ padding: 1rem;
+ background: #f8f9fa;
+ border-radius: 8px;
+}
+
+.info-item label {
+ font-weight: 600;
+ color: #333;
+ margin-bottom: 0.5rem;
+ font-size: 0.9rem;
+}
+
+.info-value {
+ color: #555;
+ font-size: 1rem;
+}
+
+.role-badge {
+ background: #2e8b57;
+ color: white;
+ padding: 0.3rem 0.8rem;
+ border-radius: 20px;
+ font-size: 0.8rem;
+ font-weight: 600;
+ display: inline-block;
+ width: fit-content;
}
.stats-grid {
@@ -73,4 +224,26 @@ export default {
max-width: 300px;
margin: 2rem auto;
}
+
+/* Адаптивность */
+@media (max-width: 768px) {
+ .info-grid {
+ grid-template-columns: 1fr;
+ }
+
+ .profile-actions {
+ max-width: 100%;
+ }
+
+ .profile-header,
+ .profile-info {
+ padding: 1rem;
+ }
+}
+
+@media (max-width: 480px) {
+ .stats-grid {
+ grid-template-columns: 1fr;
+ }
+}
\ No newline at end of file