/* =========================================
PROFILE EDIT DASHBOARD
========================================= */
.kbtv-page-wrapper {
    padding: 100px 20px 40px;
    min-height: 100vh;
    background: var(--bg-main, #141414);
}

.kbtv-container {
    max-width: 800px;
    margin: 0 auto;
}

.kbtv-dashboard-card {
    background: var(--bg-secondary, #1e1e1e);
    border: 1px solid var(--border-color, #333);
    border-radius: 12px;
    padding: 30px;
}

.kbtv-dashboard-title {
    color: var(--text-white, #fff);
    font-size: 24px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color, #333);
    padding-bottom: 15px;
}

.kbtv-form-group {
    margin-bottom: 20px;
}

.kbtv-form-group label {
    display: block;
    color: var(--text-gray, #a3a3a3);
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.kbtv-form-group input[type="text"],
.kbtv-form-group input[type="url"],
.kbtv-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-main, #141414);
    border: 1px solid var(--border-color, #333);
    border-radius: 8px;
    color: var(--text-white, #fff);
    font-size: 15px;
    transition: border-color 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}

.kbtv-form-group input:focus,
.kbtv-form-group textarea:focus {
    outline: none;
    border-color: var(--accent-red, #e50914);
}

.kbtv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.kbtv-btn-primary {
    background: var(--accent-red, #e50914);
    color: #fff;
}

.kbtv-btn-primary:hover {
    background: var(--accent-red-hover, #f40612);
}

.kbtv-btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.kbtv-form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    display: none;
}

.kbtv-form-message.success {
    display: block;
    background: rgba(70, 211, 105, 0.1);
    color: #46d369;
    border: 1px solid rgba(70, 211, 105, 0.3);
}

.kbtv-form-message.error {
    display: block;
    background: rgba(229, 9, 20, 0.1);
    color: #ff4d4d;
    border: 1px solid rgba(229, 9, 20, 0.3);
}

.kbtv-error {
    color: #ff4d4d;
    padding: 20px;
    text-align: center;
}


/* =========================================
PROFILE VIEW
========================================= */
.kbtv-profile-view-card {
    background: var(--bg-secondary, #1e1e1e);
    border: 1px solid var(--border-color, #333);
    border-radius: 12px;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.kbtv-profile-header {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color, #333);
    margin-bottom: 25px;
}

.kbtv-profile-avatar {
    flex-shrink: 0;
}

.kbtv-profile-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-red, #e50914);
}

.kbtv-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--accent-red, #e50914);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 700;
    border: 3px solid var(--accent-red, #e50914);
}

.kbtv-profile-info {
    flex: 1;
}

.kbtv-profile-name {
    color: var(--text-white, #fff);
    font-size: 28px;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.kbtv-profile-bio {
    color: var(--text-gray, #a3a3a3);
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.kbtv-profile-stats {
    display: flex;
    gap: 30px;
}

.kbtv-stat {
    display: flex;
    flex-direction: column;
}

.kbtv-stat-count {
    color: var(--text-white, #fff);
    font-size: 20px;
    font-weight: 700;
}

.kbtv-stat-label {
    color: var(--text-gray, #a3a3a3);
    font-size: 13px;
    margin-top: 4px;
}

.kbtv-profile-actions {
    flex-shrink: 0;
}

.kbtv-btn-subscribe {
    background: var(--accent-red, #e50914);
    color: #fff;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.kbtv-btn-subscribe:hover {
    background: var(--accent-red-hover, #f40612);
    transform: scale(1.02);
}

.kbtv-btn-subscribe.kbtv-subscribed {
    background: rgba(109, 109, 110, 0.7);
}

.kbtv-btn-subscribe.kbtv-subscribed:hover {
    background: rgba(229, 9, 20, 0.2);
    color: var(--accent-red, #e50914);
}

.kbtv-profile-content {
    min-height: 200px;
}

.kbtv-placeholder-text {
    color: var(--text-gray, #a3a3a3);
    text-align: center;
    padding: 40px 20px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .kbtv-profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .kbtv-profile-stats {
        justify-content: center;
    }
    
    .kbtv-profile-actions {
        width: 100%;
    }
    
    .kbtv-btn-subscribe {
        width: 100%;
    }
}

.kbtv-profile-view-link {
    margin-top: 20px;
    text-align: center;
}

.kbtv-btn-secondary {
    background: rgba(109, 109, 110, 0.7);
    color: #fff;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.kbtv-btn-secondary:hover {
    background: rgba(109, 109, 110, 0.9);
    transform: scale(1.02);
}

/* =========================================
KBTV SOCIAL NETWORK - Дополнение к теме Karbush
========================================= */

.kbtv-social-page {
    padding-top: 100px;
    padding-bottom: 40px;
    min-height: 100vh;
}

.kbtv-profile-card {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.profile-header {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 25px;
}

.profile-avatar img,
.avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e50914;
}

.avatar-placeholder {
    background: #e50914;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 700;
}

.profile-info {
    flex: 1;
}

.profile-name {
    color: #fff;
    font-size: 28px;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.profile-bio {
    color: #a3a3a3;
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.profile-stats {
    display: flex;
    gap: 30px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-count {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.stat-label {
    color: #a3a3a3;
    font-size: 13px;
    margin-top: 4px;
}

.btn-subscribe {
    background: #e50914;
    color: #fff;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-subscribe:hover {
    background: #f40612;
    transform: scale(1.02);
}

.btn-subscribe.subscribed {
    background: rgba(109, 109, 110, 0.7);
}

.profile-content {
    min-height: 200px;
}

.placeholder-text {
    color: #a3a3a3;
    text-align: center;
    padding: 40px 20px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile-stats {
        justify-content: center;
    }
}