/* Дополнительные стили для страницы профиля */
.form-input[disabled] {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

/* Изменяем стиль текста "поменять фото" */
.profile-page .upload-text {
    opacity: 0;
    transition: opacity 0.3s;
}


/* Центрирование поля с именем */
.name-field {
    display: flex;
    justify-content: center;
    width: 100%;
}

.name-field .form-input {
    text-align: center;
    width: 100%; /* или другая желаемая ширина */
    font-size: 18px;
}

/* Profile and User Styles */

/* Profile Image Styles */
.profile-image-background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.profile-avatar-small {
    width: 67px;
    height: 67px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-avatar-medium {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

/* Profile Card */
.profile-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.profile-header {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 25px;
}

.profile-name {
    font-size: 2rem;
    font-weight: bold;
    color: #575757;
    margin-bottom: 10px;
}

.profile-email {
    color: #6c757d;
    font-size: 1.1rem;
}

.profile-info-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.profile-info-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.profile-info-label {
    font-weight: 600;
    color: #575757;
    margin-bottom: 5px;
}

.profile-info-value {
    color: #6c757d;
}

/* Profile Actions */
.profile-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

.profile-btn {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.profile-btn-primary {
    background-color: #007bff;
    color: white;
    border: 2px solid #007bff;
}

.profile-btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.profile-btn-outline {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.profile-btn-outline:hover {
    background-color: #007bff;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Edit Profile Form */
.profile-edit-form {
    max-width: 600px;
    margin: 0 auto;
}

.profile-form-group {
    margin-bottom: 20px;
}

.profile-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #575757;
}

.profile-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.profile-form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.profile-form-file {
    padding: 8px 12px;
    background: #f8f9fa;
}

/* Profile Stats */
.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.profile-stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.profile-stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
    display: block;
}

.profile-stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Advanced Admin Profile Styles - Behance inspired */

/* Profile Container */
.admin-profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* Profile Header Section */
.admin-profile-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    color: white;
    position: relative;
    overflow: hidden;
}

.admin-profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(50px, -50px);
}

.admin-profile-hero {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.admin-avatar-section {
    position: relative;
}

.admin-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.admin-avatar:hover {
    transform: scale(1.05);
}

.admin-avatar-upload {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.admin-avatar-upload:hover {
    background: #0056b3;
    transform: scale(1.1);
}

.admin-profile-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.admin-profile-role {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-profile-role i {
    color: #ffd700;
}

.admin-join-date {
    opacity: 0.8;
    font-size: 1rem;
}

/* Dashboard Grid */
.admin-dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* Stats Cards */
.admin-stats-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.admin-stats-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.admin-stat-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 20px;
    border-radius: 12px;
    color: white;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.admin-stat-card:hover {
    transform: translateY(-5px);
}

.admin-stat-card.blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.admin-stat-card.green {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
}

.admin-stat-card.orange {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.admin-stat-card.purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.admin-stat-number {
    font-size: 2rem;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.admin-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Quick Actions */
.admin-quick-actions {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.admin-actions-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-action-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-action-item {
    margin-bottom: 12px;
}

.admin-action-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.admin-action-link:hover {
    background: #e9ecef;
    border-left-color: #007bff;
    text-decoration: none;
    color: #007bff;
    transform: translateX(5px);
}

.admin-action-icon {
    width: 20px;
    text-align: center;
    color: #007bff;
}

/* Profile Details */
.admin-profile-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.admin-detail-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.admin-detail-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-form-group {
    margin-bottom: 20px;
}

.admin-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.admin-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.admin-form-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.admin-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.admin-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.admin-btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e9ecef;
}

.admin-btn-secondary:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

/* Activity Feed */
.admin-activity-feed {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.admin-activity-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-activity-item {
    display: flex;
    align-items: start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.admin-activity-item:last-child {
    border-bottom: none;
}

.admin-activity-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007bff;
    flex-shrink: 0;
}

.admin-activity-content {
    flex: 1;
}

.admin-activity-text {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 14px;
}

.admin-activity-time {
    color: #6c757d;
    font-size: 12px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .admin-profile-container {
        padding: 15px;
    }
    
    .admin-profile-header {
        padding: 25px 20px;
    }
    
    .admin-profile-hero {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .admin-profile-info h1 {
        font-size: 2rem;
    }
    
    .admin-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .admin-profile-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .admin-stat-card {
        padding: 15px;
    }
    
    .admin-stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .admin-profile-header {
        padding: 20px 15px;
    }
    
    .admin-avatar {
        width: 100px;
        height: 100px;
    }
    
    .admin-profile-info h1 {
        font-size: 1.5rem;
    }
    
    .admin-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .admin-stat-card {
        padding: 12px;
    }
    
    .admin-stat-number {
        font-size: 1.3rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .profile-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .profile-name {
        font-size: 1.5rem;
    }
    
    .profile-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .profile-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .profile-avatar {
        width: 120px;
        height: 120px;
    }
    
    .profile-info-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .profile-card {
        padding: 15px;
    }
    
    .profile-avatar {
        width: 100px;
        height: 100px;
    }
    
    .profile-name {
        font-size: 1.3rem;
    }
    
    .profile-stats {
        grid-template-columns: 1fr;
    }
}