/* Profile Pages Styles */

/* Common styles for profile, terms, privacy, about pages */
.profile-section,
.terms-section,
.privacy-section,
.about-section {
    padding: 50px 0;
}

.profile-container,
.terms-container,
.privacy-container,
.about-container {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

/* Profile Page Specific Styles */
.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: linear-gradient(to right, #ffffff, #f9f9f9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 15px 15px 0 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.profile-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.profile-edit-btn {
    color: var(--primary-color);
    background-color: transparent;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.profile-edit-btn:hover {
    color: #6b071a;
    transform: scale(1.1);
}

.profile-content {
    padding: 30px;
}

.profile-avatar-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.avatar-edit-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.avatar-edit-icon:hover {
    background-color: #6b071a;
    transform: scale(1.1);
}

.profile-info-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.profile-info-item:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.profile-info-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(140, 9, 31, 0.1);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.profile-info-content {
    flex: 1;
}

.profile-info-label {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 3px;
    display: block;
}

.profile-info-value {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.profile-gender-dropdown {
    color: var(--primary-color);
    margin-left: auto;
}

/* Edit Profile Specific Styles */
.profile-edit-item {
    margin-bottom: 20px;
}

.profile-edit-item .form-label {
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
}

.profile-edit-item .input-group-text {
    color: var(--primary-color);
    border-color: #ced4da;
}

.profile-edit-item .form-control,
.profile-edit-item .form-select {
    border-color: #ced4da;
    transition: all 0.3s ease;
}

.profile-edit-item .form-control:focus,
.profile-edit-item .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(140, 9, 31, 0.25);
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #6b071a;
    border-color: #6b071a;
    transform: translateY(-2px);
}

/* Terms, Privacy, About Pages Styles */
.terms-content,
.privacy-content,
.about-content {
    padding: 30px;
    line-height: 1.8;
    color: #444;
}

.terms-content h2,
.privacy-content h2,
.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.terms-content p,
.privacy-content p,
.about-content p {
    margin-bottom: 20px;
}

/* Responsive styles */
@media (max-width: 767.98px) {
    .profile-avatar-container {
        width: 150px;
        height: 150px;
    }

    .profile-content,
    .terms-content,
    .privacy-content,
    .about-content {
        padding: 20px;
    }

    .profile-info-item {
        padding: 12px 15px;
    }
}

.team-card .card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 41%;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}