/* ===== СТРАНИЦА УЧАСТНИКА ===== */
.participant-page-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 30px rgba(0,0,0,0.08);
}
@media (max-width: 767px) {
    .participant-page-wrapper {
        margin: 20px 10px;
        padding: 15px;
    }
    .participant-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .participant-grid .left-col {
        order: 2;
    }
    .participant-grid .right-col {
        order: 1;
    }
    .participant-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .participant-info-grid {
        grid-template-columns: 1fr !important;
    }
}
.participant-page-wrapper .hero-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
}
.participant-page-wrapper .hero-subtitle {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}
.participant-page-wrapper .hero-subtitle strong {
    color: #e31e24;
}
.participant-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.participant-grid .left-col {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}
.participant-grid .right-col {
    padding: 5px 0;
}
.participant-grid .right-col .features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.participant-grid .right-col .features li {
    padding: 8px 0;
    font-size: 16px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}
.participant-grid .right-col .features li::before {
    content: "✅";
    color: #e31e24;
    font-size: 20px;
}
.participant-grid .right-col .btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}
.participant-grid .right-col .btn-group a {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    flex: 1 0 auto;
    text-align: center;
    min-width: 100px;
}
@media (min-width: 768px) {
    .participant-grid .right-col .btn-group a {
        flex: 1;
    }
}
.participant-grid .right-col .btn-group .btn-primary {
    background: #e31e24;
    color: #fff;
}
.participant-grid .right-col .btn-group .btn-primary:hover {
    background: #c41a1e;
}
.participant-grid .right-col .btn-group .btn-outline {
    background: #fff;
    color: #e31e24;
    border: 2px solid #e31e24;
}
.participant-grid .right-col .btn-group .btn-outline:hover {
    background: #e31e24;
    color: #fff;
}
.participant-grid .right-col .guest-message {
    margin-top: 25px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}
.participant-grid .right-col .guest-message strong {
    color: #e31e24;
}
.auth-form-wrapper {
    background: #fff;
    padding: 20px 0;
}
.auth-form-wrapper .rpl-btn-red {
    display: inline-block;
    padding: 10px 28px;
    background: #e31e24;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}
.auth-form-wrapper .rpl-btn-red:hover {
    background: #c41a1e;
}
.participant-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0 25px 0;
}
.participant-actions a {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}
.participant-actions .btn-red {
    background: #e31e24;
    color: #fff;
}
.participant-actions .btn-red:hover {
    background: #c41a1e;
}
.participant-actions .btn-white-red {
    background: #fff;
    color: #e31e24;
    border: 2px solid #e31e24;
}
.participant-actions .btn-white-red:hover {
    background: #e31e24;
    color: #fff;
}
.participant-actions .btn-gray {
    background: #fff;
    color: #e31e24;
    border: 2px solid #e31e24; /* теперь красный, как остальные */
}
.participant-actions .btn-gray:hover {
    background: #e31e24;
    color: #fff;
}
.participant-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 10px;
}
.participant-info-grid .info-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
}
.participant-info-grid .info-card h3 {
    margin: 0 0 10px 0;
    color: #e31e24;
}
.participant-info-grid .info-card p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}
.participant-footer-message {
    margin-top: 25px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    text-align: center;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}
.participant-footer-message strong {
    color: #e31e24;
}

/* ===== ДВУХСТРОЧНЫЕ КНОПКИ ===== */
.btn-group .btn-icon-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    min-width: 80px;
    text-align: center;
    line-height: 1.3;
    flex: 1;
}
.btn-group .btn-icon-top .icon {
    font-size: 28px;
    display: block;
    margin-bottom: 4px;
}
.btn-group .btn-icon-top .text {
    font-size: 13px;
    font-weight: 600;
    display: block;
}
@media (max-width: 600px) {
    .btn-group .btn-icon-top {
        min-width: 60px;
        padding: 10px 6px;
    }
    .btn-group .btn-icon-top .icon {
        font-size: 22px;
    }
    .btn-group .btn-icon-top .text {
        font-size: 12px;
    }
}

.profile-tabs {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}
.tab-link {
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    color: #666;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
}
.tab-link:hover {
    background: #f0f0f0;
}
.tab-link.active {
    background: #e31e24;
    color: #fff;
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}

.btn-logout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #fff;
    color: #e31e24;
    border: 2px solid #e31e24;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.2s;
}
.btn-logout:hover {
    background: #e31e24;
    color: #fff;
}