/* Add your own styling here */

.chat-circle {
    position: fixed;
    z-index: 1000;
    bottom: 30px;
    right: 20px;
    background: #fcb900;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    padding: 8px;
    cursor: pointer;
    box-shadow: 0px 3px 16px 0px rgba(0, 0, 0, 0.6), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.chat-overlay {
    background: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: none;
}

.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
}

.chat-window {
    width: 320px;
    height: 500px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #fff;
    /* border: 1px solid #000; */
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.chat-window.open {
    transform: scale(1);
}

/* LASUN */

.chat {
    width: 300px;
    height: 400px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background-color: #555555;
    color: #000;
    font-size: large;
    padding: 10px;
    text-align: left;
    font-weight: bold;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.chat-body {
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
}

.chat-message {
    max-width: 80%;
    background-color: #f0f0f0;
    padding: 5px 10px;
    margin: 5px;
    border-radius: 15px;
    word-wrap: break-word;
}

.right {
    background-color: #007bff;
    color: #fff;
    align-self: flex-end;
}

.left {
    background-color: #f0f0f0;
    color: #333;
    align-self: flex-start;
}


/* LASUN */

.user-message {
    background-color: #555555;
    color: black;
    text-align: right;
    max-width: fit-content;
    margin-left: 20%;
    align-self: flex-end;
}

.chat-options {
    text-align: center;
}

.chat-option {
    background-color: #007bff;
    color: #fff;
    padding: 5px 10px;
    border-radius: 15px;
    cursor: pointer;
    margin: 5px;
    max-width: fit-content;
    align-self: end;
}

.chat-footer {
    text-align: center;
    padding: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.message-box {
    background: #f4f7f9;
    width: 100%;
    position: relative;
    height: 47px;
    padding-top: 10px;
    padding-right: 50px;
    padding-bottom: 10px;
    padding-left: 15px;
    border: none;
    resize: none;
    outline: none;
    border: 1px solid #ccc;
    color: #888;
    border-top: none;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    overflow: hidden;
}

.chat-submit {
    position: absolute;
    bottom: 3px;
    right: 10px;
    background: transparent;
    box-shadow: none;
    border: none;
    border-radius: 50%;
    color: #5A5EB9;
    width: 35px;
    height: 35px;
}

.message-box>form {
    margin-bottom: 0;
}

#message-box::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #ccc;
}

#message-box::-moz-placeholder {
    /* Firefox 19+ */
    color: #ccc;
}

#message-box:-ms-input-placeholder {
    /* IE 10+ */
    color: #ccc;
}

#message-box:-moz-placeholder {
    /* Firefox 18- */
    color: #ccc;
}

   .blog-card {
    border: none;
    transition: transform 0.3s ease-in-out;
}
.blog-card:hover {
    transform: translateY(-5px);
    opacity:0.8;
}
.blog-badge {
    background-color: #555555;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
}
.blog-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}
.blog-card-text {
     display: -webkit-box;
    -webkit-line-clamp: 6; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6; 
}
.blog-btn-primary {
    background-color: #081351;
    border-color: #081351;
}
.blog-btn-primary:hover {
    background-color: #333;
    border-color: #333;
}
.comment-container {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}
.reply-container {
    margin-left: 50px;
    border-left: 2px solid #ddd;
    padding-left: 15px;
}
.blog-content ul {
    padding-left: 20px; 
    margin-top: 10px; 
    margin-bottom: 10px; 
    list-style-type: disc; 
}


.blog-content li {
    margin-bottom: 8px;
    color:#555;
    line-height: 1.8; 
}

.blog-content p {
    color:#555;
    line-height: 1.8; 
}

 .category-section {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.category-title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 15px;
    border: none;
    /*border-bottom: 1px solid #ddd;*/
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.category-list-group-item:hover {
    background-color: #f8f9fa;
}

.category-link.active {
    font-weight: bold;
    color: #fcb900;
   
}
.no-blogs-message {
    color: #dc3545; /* Bootstrap danger color */
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    margin-top: 20px;
}

.pagination {
    list-style: none;
    display: inline-flex;
    padding: 0;
    margin: 0;
}

.page-item {
    margin: 0 5px;
}

.page-link {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-link:hover {
    background-color: #555555;
    color: #fff;
}

.page-item.active .page-link {
    background-color: #555555;
    color: #fff;
    border-color: #fcb900;
}

/* ============================
   REMOTE.CO STYLE — SMALL FONTS
   ============================ */
body, p, a, button, input, textarea, span, div {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

/* Slightly smaller for chat buttons & bubbles */
.chat-message,
.chat-option,
.user-message,
.right,
.left {
    font-size: 13px !important;
}

/* Titles slightly cleaner */
.blog-card-title,
.category-title {
    font-size: 1rem !important; /* smaller & professional */
    font-weight: 600 !important;
}

/* ============================
   COLOR OVERRIDES ONLY
   ============================ */

/* Yellow → White */
.chat-circle,
.chat-header,
.user-message,
.blog-badge,
.category-link.active,
.page-link:hover,
.page-item.active .page-link {
    background-color: #ffffff !important;
    color: #555555 !important;
}

/* Blue → Medium Dark Gray */
.chat-button,
.right,
.chat-option {
    background-color: #555555 !important;
    border-color: #555555 !important;
    color: #ffffff !important;
}

/* Primary buttons */
.blog-btn-primary {
    background-color: #555555 !important;
    border-color: #555555 !important;
}

.blog-btn-primary:hover {
    background-color: #333333 !important;
    border-color: #333333 !important;
}
