.bf-sign-page {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.bf-sign-container {
    width: 100%;
    max-width: 450px;
}

.bf-sign-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.bf-sign-header {
    text-align: center;
    margin-bottom: 30px;
}

.bf-sign-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 50%;
}

.bf-sign-logo img {
    max-width: 60px;
    max-height: 60px;
    border-radius: 50%;
}

.bf-sign-logo .dashicons {
    font-size: 40px;
    color: #dc3544;
}

.bf-sign-header h1 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 600;
}

.bf-sign-header .description {
    margin: 0;
    color: #6b7280;
}

.bf-sign-tabs {
    display: flex;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.tab-btn.active {
    background: #dc3544;
    color: #fff;
}

.tab-btn:hover:not(.active) {
    background: #e5e7eb;
}

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

.bf-form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: #374151;
}

.bf-form-group input,
.bf-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.bf-form-group input:focus,
.bf-form-group textarea:focus {
    outline: none;
    border-color: #dc3544;
}

.bf-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.forgot-password {
    color: #dc3544;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.bf-btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.bf-btn-primary {
    width: 100%;
    background: #dc3544;
    color: #fff;
}

.bf-btn-primary:hover {
    background: #2563eb;
}

.bf-btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.bf-btn-secondary:hover {
    background: #e5e7eb;
}

.bf-form-message {
    margin-top: 12px;
    font-size: 14px;
}

.bf-form-message .loading {
    color: #dc3544;
}

.bf-form-message .success {
    color: #10b981;
}

.bf-form-message .error {
    color: #ef4444;
}

.bf-user-center {
    margin-bottom: 20px;
}

.bf-user-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.bf-user-avatar {
    flex-shrink: 0;
}

.bf-user-avatar img {
    border-radius: 50%;
}

.bf-avatar-label {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.bf-avatar-label:hover .bf-avatar-overlay {
    opacity: 1;
}

.bf-avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    color: #fff;
}

.bf-avatar-overlay i {
    font-size: 24px;
    margin-bottom: 4px;
}

.bf-avatar-overlay span {
    font-size: 12px;
}

.bf-avatar-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.bf-user-info h1 {
    margin: 0 0 8px;
    font-size: 24px;
}

.bf-user-description {
    margin: 0 0 12px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bf-user-role {
    margin: 0 0 12px;
    color: #6b7280;
    font-size: 14px;
}

.bf-user-meta {
    margin: 0;
}

.bf-user-meta .meta-item {
    margin-right: 20px;
    font-size: 14px;
    color: #9ca3af;
}

.bf-user-container {
    display: flex;
    gap: 24px;
}

.bf-user-sidebar {
    width: 200px;
    flex-shrink: 0;
}

.bf-user-menu {
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    margin: 0;
    list-style: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.bf-user-menu li {
    margin: 0;
    padding: 0;
}

.bf-user-menu li a {
    display: block;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

.bf-user-menu li a:hover {
    background: #f3f4f6;
}

.bf-user-menu li.active a {
    background: #dc3544;
    color: #fff;
}

.bf-user-content {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.bf-section-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.bf-user-section {
    display: block;
}

.bf-form-row {
    display: flex;
    gap: 24px;
}

.bf-form-row .bf-form-group {
    flex: 1;
}

.bf-user-posts,
.bf-user-comments {
    margin-top: 20px;
}

.bf-user-post,
.bf-user-comment {
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 12px;
}

.bf-user-post:last-child,
.bf-user-comment:last-child {
    margin-bottom: 0;
}

.bf-user-post h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.bf-user-post h3 a {
    color: #374151;
    text-decoration: none;
}

.bf-user-post h3 a:hover {
    color: #dc3544;
}

.post-meta,
.comment-meta {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

.bf-empty-state {
    text-align: center;
    padding: 40px;
    color: #6b7280;
}

.bf-empty-state p {
    margin: 0 0 16px;
}

.bf-user-not-login {
    padding: 40px 0;
}

.bf-followers-page,
.bf-user-posts-page {
    padding: 20px 0;
}

.bf-follow-tabs,
.bf-content-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.bf-follow-tab,
.bf-content-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.2s;
}

.bf-follow-tab:hover,
.bf-content-tab:hover {
    background: #e9ecef;
}

.bf-follow-tab.active,
.bf-content-tab.active {
    background: #dc3544;
    color: #fff;
    border-color: #dc3544;
}

.bf-follow-tab .tab-count,
.bf-content-tab .tab-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

.bf-follow-list,
.bf-content-list {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.bf-follow-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.bf-follow-item:last-child {
    border-bottom: none;
}

.bf-follow-avatar img {
    border-radius: 50%;
    width: 64px;
    height: 64px;
}

.bf-follow-info {
    flex: 1;
}

.bf-follow-info h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.bf-follow-info h4 a {
    color: #333;
}

.bf-follow-info h4 a:hover {
    color: #dc3544;
}

.bf-follow-desc {
    margin: 0 0 8px 0;
    font-size: 13px;
    color: #999;
    line-height: 1.5;
}

.bf-follow-stats {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #999;
}

.bf-content-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.bf-content-item:last-child {
    border-bottom: none;
}

.bf-content-thumbnail img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.bf-content-info {
    flex: 1;
}

.bf-content-info h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
}

.bf-content-info h3 a {
    color: #333;
}

.bf-content-info h3 a:hover {
    color: #dc3544;
}

.bf-post-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 8px;
}

.bf-post-status-pending {
    background: #fff3cd;
    color: #856404;
}

.bf-content-excerpt {
    margin: 0 0 8px 0;
    font-size: 13px;
    color: #999;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bf-content-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #999;
    margin: 0;
}

.bf-pagination {
    margin-top: 20px;
    text-align: center;
}

.bf-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
}

.bf-pagination .page-numbers:hover,
.bf-pagination .page-numbers.current {
    background: #dc3544;
    color: #fff;
    border-color: #dc3544;
}

@media (max-width: 782px) {
    .bf-sign-page {
        padding: 20px;
    }
    
    .bf-sign-card {
        padding: 24px;
    }
    
    .bf-user-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .bf-user-header #avatar-message {
        display: none;
    }
    
    .bf-user-info h1 {
        font-size: 20px;
    }
    
    .bf-user-description {
        -webkit-line-clamp: 3;
    }
    
    .bf-user-meta {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 12px;
    }
    
    .bf-user-meta .meta-item {
        margin-right: 0;
    }
    
    .bf-user-container {
        flex-direction: column;
    }
    
    .bf-user-sidebar {
        width: 100%;
    }
    
    .bf-user-menu {
        display: flex;
        flex-wrap: nowrap;
        gap: 4px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .bf-user-menu::-webkit-scrollbar {
        display: none;
    }
    
    .bf-user-menu li {
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    .bf-user-menu li a {
        white-space: nowrap;
    }
    
    .bf-form-row {
        flex-direction: column;
    }
}

.bf-post-form-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    transition: all 0.2s;
}

.bf-post-form-action-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.bf-post-form-btn-video {
    border-color: #3b82f6;
    color: #3b82f6;
}

.bf-post-form-btn-video:hover {
    background: #eff6ff;
}

.bf-video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.bf-video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.bf-video-modal-content {
    position: relative;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bf-video-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.bf-video-modal-header h4 {
    margin: 0;
    font-size: 16px;
}

.bf-video-modal-close {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 20px;
    color: #6b7280;
}

.bf-video-modal-close:hover {
    color: #374151;
}

.bf-video-modal-tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
}

.bf-video-tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    color: #6b7280;
    transition: all 0.2s;
}

.bf-video-tab-btn.active {
    background: #dc3544;
    color: #fff;
}

.bf-video-tab-btn:hover:not(.active) {
    background: #f3f4f6;
}

.bf-video-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.bf-video-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 20px;
}

.bf-video-upload-area:hover,
.bf-video-upload-area.dragover {
    border-color: #dc3544;
    background: #fff5f5;
}

.bf-video-upload-area p {
    margin: 8px 0 0;
    font-size: 14px;
    color: #374151;
}

.bf-video-upload-hint {
    color: #9ca3af !important;
    font-size: 12px !important;
}

.bf-video-file-input {
    display: none;
}

.bf-video-upload-preview {
    margin-bottom: 16px;
}

.bf-video-preview-info {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    font-size: 13px;
    color: #6b7280;
}

.bf-video-upload-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.bf-video-search {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.bf-video-search-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.bf-video-search-btn {
    padding: 10px 16px;
    border: none;
    background: #dc3544;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.bf-video-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.bf-video-item {
    position: relative;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.bf-video-item:hover {
    border-color: #dc3544;
}

.bf-video-item-thumb {
    position: relative;
    aspect-ratio: 16/9;
}

.bf-video-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bf-video-item-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.bf-video-item-duration {
    position: absolute;
    bottom: 4px;
    right: 4px;
    padding: 2px 6px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 11px;
    border-radius: 3px;
}

.bf-video-item-info {
    padding: 10px;
}

.bf-video-item-info h4 {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bf-video-item-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #9ca3af;
}

.bf-video-item-select {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    background: #dc3544;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
}

.bf-video-item:hover .bf-video-item-select {
    opacity: 1;
}

.bf-video-list-empty {
    text-align: center;
    padding: 40px;
    color: #9ca3af;
}

.bf-post-video-container {
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.bf-post-video-player {
    position: relative;
    width: 100%;
}

.bf-post-video-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: pointer;
}

.bf-post-video-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bf-post-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(220, 53, 68, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.bf-post-video-element {
    width: 100%;
    max-height: 500px;
}

@media (max-width: 768px) {
    .bf-video-list {
        grid-template-columns: 1fr;
    }
    
    .bf-video-modal-content {
        width: 95%;
        max-height: 90vh;
    }
}
