:root {
    --primary-color: #0088cc;
    --secondary-color: #f5f5f5;
    --text-dark: #333;
    --text-light: #666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
}

.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.btn {
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #006fa6;
    border-color: #006fa6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.3);
}

.text-primary {
    color: var(--primary-color) !important;
}

h1 {
    font-weight: 700;
    font-size: 2.5rem;
}

code {
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    color: #d9534f;
}

.alert {
    border-radius: 10px;
    border: none;
}

.alert-info {
    background-color: #e7f3ff;
    color: #004085;
}

/* Стили для страницы профиля */
.profile-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
    margin-bottom: 1rem;
}

.profile-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.profile-info-item {
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
}

.profile-info-item:last-child {
    border-bottom: none;
}

.profile-label {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-value {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.logout-btn {
    width: 100%;
    border-radius: 10px;
    font-weight: 500;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .card-body {
        padding: 2rem 1rem !important;
    }

    .profile-header {
        text-align: center;
    }
}
