/* ============================================================
   DroidTester — Profile Page Styles
   ============================================================ */

.profile-section {
    background: #fff;
    border: 1.5px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    margin-bottom: 16px;
    overflow: hidden;
}

.profile-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    transition: background var(--transition-fast);
    border-bottom: 1px solid var(--card-border);
}

.profile-section-header:hover {
    background: rgba(27, 122, 67, 0.03);
}

.profile-section-header h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.collapse-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(27, 122, 67, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
    transition: transform var(--transition-normal);
}

.profile-section-header.open .collapse-toggle {
    transform: rotate(180deg);
}

.profile-section-body {
    padding: 20px;
}

/* ── My Profile Card ── */
.my-profile-card {
    background: var(--bg-cream);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    flex-shrink: 0;
    border: 3px solid var(--primary);
}

.profile-name-area {
    flex: 1;
}

.profile-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.profile-email {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.profile-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    border-radius: var(--border-radius-pill);
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
}

.profile-action-btns {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

/* ── My Campaigns Scroll ── */
.campaigns-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.campaigns-scroll::-webkit-scrollbar {
    height: 4px;
}

.campaign-thumb-card {
    flex-shrink: 0;
    background: #fff;
    border: 1.5px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    padding: 16px;
    width: 140px;
    text-align: center;
    transition: all var(--transition-normal);
}

.campaign-thumb-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.campaign-thumb-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--gradient-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    margin: 0 auto 10px;
}

.campaign-thumb-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.campaign-thumb-dev {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.campaign-thumb-badge {
    display: inline-block;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    border-radius: var(--border-radius-pill);
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
}

/* ── Account Settings Grid ── */
.account-settings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.setting-card {
    background: #fff;
    border: 1.5px solid var(--primary);
    border-radius: var(--border-radius-lg);
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.setting-card:hover {
    background: rgba(27, 122, 67, 0.06);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.setting-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(27, 122, 67, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    margin: 0 auto 10px;
}

.setting-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.setting-arrow {
    color: var(--primary);
    font-size: 13px;
}