
.profile-actions {
    display: flex;
    gap: var(--spacing-sm);
}

/* 추천 현황 스타일 */
.referral-summary-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.ref-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
}

.ref-stat-num {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.ref-stat-num.completed { color: #1ea459; }
.ref-stat-num.pending { color: #a16207; }
.ref-stat-num.points { color: var(--accent-primary); }

.ref-stat-label {
    font-size: 11px;
    color: var(--text-muted);
}

.referral-user-list {
    background: var(--bg-secondary);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.referral-user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-dark);
}

.referral-user-item:last-child {
    border-bottom: none;
}

.referral-user-item:hover {
    background: var(--bg-tertiary);
}

.ref-user-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ref-user-nick {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.ref-user-date {
    font-size: 12px;
    color: var(--text-muted);
}

.ref-user-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ref-user-activity {
    font-size: 12px;
    color: var(--text-muted);
}

.ref-status-badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.ref-status-badge.completed {
    background: rgba(34, 197, 94, 0.15);
    color: #1ea459;
}

.ref-status-badge.pending {
    background: rgba(245, 158, 11, 0.15);
    color: #a16207;
}

@media (max-width: 768px) {
    .referral-summary-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .referral-user-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .ref-user-right {
        width: 100%;
        justify-content: space-between;
    }
}

/* 블라인드 관리 스타일 */
.blocks-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
}

.blocks-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
}

.block-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
}

.block-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.block-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: #000;
    overflow: hidden;
}

.block-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.block-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.block-nickname {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.block-date {
    font-size: 11px;
    color: var(--text-muted);
}

.btn-unblock {
    padding: 6px 12px;
    font-size: 12px;
    background: transparent;
    border: 1px solid #f85149;
    color: #f85149;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-unblock:hover {
    background: #f85149;
    color: #fff;
}

/* 인벤토리 스타일 */
.profile-inventory {
    background: var(--bg-secondary);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.inventory-header-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-dark);
}

.inventory-title {
    font-weight: 600;
    color: var(--text-primary);
}

.inventory-mini-list {
    padding: 16px;
}

.inventory-mini-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    transition: all 0.2s;
}

.inventory-mini-item:last-child {
    margin-bottom: 0;
}

.inventory-mini-item:hover {
    background: var(--bg-primary);
    border-color: var(--accent-primary);
}

.inv-item-icon {
    font-size: 1.8rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 10px;
    flex-shrink: 0;
}

.inv-item-info {
    flex: 1;
    min-width: 0;
}

.inv-item-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.inv-item-qty {
    font-size: 0.8rem;
    color: var(--accent-primary);
    font-weight: 500;
}

.inv-item-expire {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 3px;
}
.inv-item-expire.inv-item-expire-soon {
    color: #d83d44;
    font-weight: 600;
}

.inv-item-action .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.inventory-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.inventory-empty-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.loading-state {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
}

/* 닉네임 변경 모달 */
.profile-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.profile-modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
}

.profile-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-dark);
    background: var(--bg-tertiary);
}

.profile-modal-header h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
}

.profile-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

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

.profile-modal-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.profile-modal-body input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
}

.profile-modal-body input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.profile-modal-footer {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid var(--border-dark);
}

.profile-modal-footer .btn {
    flex: 1;
}

/* 픽스터룸 모달 */
.pickster-modal {
    max-width: 480px;
}

.pickster-ticket-info {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: rgba(30, 164, 89, 0.08);
    border: 1px solid rgba(30, 164, 89, 0.2);
    border-radius: 10px;
    margin-bottom: 20px;
}

.pickster-ticket-info .ticket-icon {
    font-size: 32px;
}

.pickster-ticket-info .ticket-name {
    font-size: 15px;
    font-weight: 600;
    color: #333333;
}

.pickster-ticket-info .ticket-duration {
    font-size: 13px;
    color: var(--accent-primary);
    margin-top: 2px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.form-group .required {
    color: #ef4444;
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.form-hint {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 6px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option {
    display: flex;
    flex-direction: column;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.radio-option:hover {
    border-color: rgba(0, 0, 0, 0.12);
}

.radio-option input {
    display: none;
}

.radio-option input:checked + .radio-label::before {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
}

.radio-label::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #444;
    background: transparent;
    transition: all 0.2s;
}

.radio-desc {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
    margin-left: 28px;
}

.casino-select-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.casino-select-btn {
    padding: 20px;
    background: rgba(0, 0, 0, 0.03);
    border: 2px solid var(--border-dark);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.casino-select-btn:hover {
    border-color: rgba(0, 0, 0, 0.12);
}

.casino-select-btn.active {
    border-color: var(--accent-primary);
    background: rgba(30, 164, 89, 0.08);
}

.casino-select-btn .casino-name {
    font-size: 14px;
    font-weight: 700;
    color: #333333;
}

.casino-select-btn.active .casino-name {
    color: var(--accent-primary);
}

.pickster-confirm-box {
    margin-top: 20px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-dark);
    border-radius: 10px;
}

.confirm-title {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-dark);
}

.confirm-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 6px 0;
}

.confirm-row span:first-child {
    color: #888;
}

.confirm-row span:last-child {
    color: #333333;
    font-weight: 500;
}
