﻿:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    color: var(--text-color);
    direction: rtl;
}

.profile-container {
    max-width: 500px;
    margin: 50px auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.profile-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid white;
    margin: 0 auto 15px;
    object-fit: cover;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-username {
    opacity: 0.9;
    font-size: 0.9rem;
}

.profile-details {
    padding: 25px;
}

.detail-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

    .detail-item:last-child {
        border-bottom: none;
    }

.detail-icon {
    width: 30px;
    height: 30px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    color: var(--primary-color);
}

.detail-label {
    font-weight: 600;
    margin-bottom: 3px;
}

.detail-value {
    color: var(--text-color);
    opacity: 0.9;
}

.edit-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

    .edit-btn:hover {
        background: var(--secondary-color);
        transform: translateY(-2px);
    }
