/* =========================================================
   BLOG COMMUNITY
========================================================= */

.bc-community {
    width: 100%;
    margin: 55px 0;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
    box-sizing: border-box;
}


/* =========================================================
   HEADER
========================================================= */

.bc-header {
    background: #0842a0;
    padding: 30px 34px;
    color: #ffffff;
}

.bc-header-content h2{
    color: white !Important;
}

.bc-header-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.bc-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    font-size: 27px;
}

.bc-header-content {
    flex: 1;
}

.bc-header-content h2 {
    margin: 0;
    padding: 0;
    color: #ffffff !important;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}

.bc-header-content p {
    margin: 8px 0 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   SUCCESS MESSAGE
========================================================= */

.bc-success {
    margin: 20px 25px 0;
    padding: 13px 16px;
    border-radius: 10px;
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 14px;
}


/* =========================================================
   QUESTION FORM
========================================================= */

.bc-form {
    margin: 0;
    padding: 25px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.bc-form textarea {
    display: block;
    width: 100%;
    min-height: 125px;
    margin: 0;
    padding: 16px 17px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #d7dce3;
    border-radius: 12px;
    color: #1f2937;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.2s ease;
}

.bc-form textarea::placeholder {
    color: #9ca3af;
}

.bc-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.bc-form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
}

.bc-form-bottom span {
    color: #6b7280;
    font-size: 13px;
}

.bc-form button,
.bc-reply-form button {
    border: 0;
    border-radius: 9px;
    padding: 12px 24px;
    background: #2563eb;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bc-form button:hover,
.bc-reply-form button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}


/* =========================================================
   LOGIN BOX
========================================================= */

.bc-login {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px 25px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.bc-login-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf2ff;
    border-radius: 50%;
    font-size: 20px;
}

.bc-login strong {
    display: block;
    color: #111827;
    font-size: 15px;
}

.bc-login p {
    margin: 4px 0 10px;
    color: #6b7280;
    font-size: 13px;
}

.bc-login-btn,
.bc-register-btn {
    display: inline-block;
    margin-right: 7px;
    padding: 7px 14px;
    border-radius: 7px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
}

.bc-login-btn {
    background: #2563eb;
    color: #ffffff !important;
}

.bc-register-btn {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151 !important;
}


/* =========================================================
   QUESTION LIST
========================================================= */

.bc-list {
    padding: 28px 25px;
    background: #ffffff;
}

.bc-list-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.bc-list-title h3 {
    margin: 0;
    color: #111827;
    font-size: 22px;
    line-height: 1.3;
}

.bc-list-title p {
    margin: 5px 0 0;
    color: #6b7280;
    font-size: 13px;
}

.bc-count {
    min-width: 35px;
    height: 35px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   QUESTION CARD
========================================================= */

.bc-question-card {
    margin-bottom: 20px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    transition: all 0.2s ease;
}

.bc-question-card:hover {
    border-color: #d6dce5;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
}


/* =========================================================
   USER
========================================================= */

.bc-user {
    display: flex;
    align-items: center;
    gap: 11px;
}

.bc-user img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.bc-user strong {
    display: block;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}

.bc-user span {
    display: block;
    margin-top: 3px;
    color: #9ca3af;
    font-size: 12px;
}


/* =========================================================
   QUESTION TEXT
========================================================= */

.bc-question-message {
    margin: 18px 0;
    color: #374151;
    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   ACTIONS
========================================================= */

.bc-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid #eef0f3;
}

.bc-actions form {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.bc-actions button,
.bc-actions > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 7px 11px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    color: #64748b;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.3;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bc-actions button:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #2563eb;
}

.bc-actions button span {
    font-weight: 700;
}


/* =========================================================
   REPLIES
========================================================= */

.bc-replies {
    margin-top: 22px;
    margin-left: 35px;
    padding-left: 18px;
    border-left: 2px solid #e5e7eb;
}

.bc-reply {
    margin-bottom: 14px;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.bc-official {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #2563eb;
}

.bc-reply-header {
    margin-bottom: 12px;
}

.bc-reply-message {
    margin-bottom: 14px;
    color: #374151;
    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   REPLY FORM
========================================================= */

.bc-reply-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #e5e7eb;
}

.bc-reply-form textarea {
    display: block;
    width: 100%;
    min-height: 90px;
    box-sizing: border-box;
    padding: 13px 15px;
    background: #ffffff;
    border: 1px solid #d7dce3;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
}

.bc-reply-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.bc-reply-form button {
    margin-top: 10px;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.bc-empty {
    padding: 45px 20px;
    text-align: center;
    background: #f8fafc;
    border: 1px dashed #d7dce3;
    border-radius: 13px;
}

.bc-empty-icon {
    margin-bottom: 10px;
    font-size: 32px;
}

.bc-empty h4 {
    margin: 0 0 5px;
    color: #111827;
    font-size: 17px;
}

.bc-empty p {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .bc-community {
        margin: 35px 0;
        border-radius: 13px;
    }

    .bc-header {
        padding: 24px 20px;
    }

    .bc-header-left {
        align-items: flex-start;
        gap: 14px;
    }

    .bc-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 22px;
    }

    .bc-header-content h2 {
        font-size: 24px;
    }

    .bc-header-content p {
        font-size: 13px;
    }

    .bc-form {
        padding: 18px;
    }

    .bc-form-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .bc-form-bottom button {
        width: 100%;
    }

    .bc-login {
        padding: 18px;
        align-items: flex-start;
    }

    .bc-list {
        padding: 20px 15px;
    }

    .bc-list-title h3 {
        font-size: 19px;
    }

    .bc-question-card {
        padding: 17px;
    }

    .bc-replies {
        margin-left: 10px;
        padding-left: 12px;
    }

    .bc-actions {
        gap: 6px;
    }

    .bc-actions button,
    .bc-actions > span {
        padding: 7px 8px;
        font-size: 11px;
    }

}