﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
.btn-success {
    background-color: #028a0f !important; 
    border-color: #008080 !important;
    color: #ffffff !important; 
}
    .btn-success:hover,
    .btn-success:focus,
    .btn-success:active {
        background-color: #023E8A !important; 
        border-color: #006666 !important;
        color: #ffffff !important;
        box-shadow: 0 4px 10px rgba(0, 128, 128, 0.4) !important; 
    }
.btn-info {
    background-color: #023E8A !important; 
    border-color: #008080 !important;
    color: #ffffff !important; 
}

    .btn-info:hover,
    .btn-info:focus,
    .btn-info:active {
        background-color: #009000 !important; 
        border-color: #006666 !important;
        color: #ffffff !important;
        box-shadow: 0 4px 10px rgba(0, 128, 128, 0.4) !important; 
    }
.bg-primary {
    background-color: #023E8A !important; 
    border-color: #008080 !important;
    color: #ffffff !important; 
}

.text-primary {
    color: #800f2f !important;
}

.text-success {
    color: #023E8A !important;
}
.text-muted {
    color: #013f3e !important;
}
.text-info {
    color: #023E8A !important;
}
/* =========================================
   Facebook Style Notice Board Custom CSS
========================================= */

.notice-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e4e6eb;
}

.notice-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.notice-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1877f2;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 10px;
}

.notice-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #050505;
    margin: 0;
}

.notice-time {
    font-size: 0.8rem;
    color: #65676b;
    margin: 0;
}

.notice-body {
    font-size: 0.95rem;
    color: #050505;
    margin-bottom: 15px;
    white-space: pre-wrap; /* লাইন ব্রেক ঠিক রাখার জন্য */
}

/* ফাইল বা ছবির ডিজাইন */
.notice-attachment img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* লাইক ও কমেন্টের সংখ্যা দেখানোর জায়গা */
.notice-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #65676b;
    padding-bottom: 10px;
    border-bottom: 1px solid #e4e6eb;
}

/* লাইক ও কমেন্ট বাটন সেকশন */
.notice-actions {
    display: flex;
    justify-content: space-around;
    padding: 5px 0;
    border-bottom: 1px solid #e4e6eb;
}

.action-btn {
    background: none;
    border: none;
    color: #65676b;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    text-align: center;
}

    .action-btn:hover {
        background-color: #f0f2f5;
    }

    .action-btn.liked {
        color: #1877f2; /* ফেসবুকের নীল কালার */
    }

/* কমেন্ট সেকশন */
.comment-section {
    margin-top: 15px;
}

.single-comment {
    display: flex;
    margin-bottom: 10px;
}

.comment-box {
    background-color: #f0f2f5;
    padding: 8px 12px;
    border-radius: 18px;
    display: inline-block;
    max-width: 100%;
}

.commenter-name {
    font-weight: bold;
    font-size: 0.85rem;
    color: #050505;
    margin-bottom: 2px;
}

.comment-text {
    font-size: 0.9rem;
    color: #050505;
    margin: 0;
}

/* কমেন্ট ইনপুট করার জায়গা */
.comment-input-area {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.comment-input {
    flex-grow: 1;
    background-color: #f0f2f5;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    outline: none;
    font-size: 0.9rem;
}

.comment-submit-btn {
    background: none;
    border: none;
    color: #1877f2;
    font-weight: bold;
    cursor: pointer;
    margin-left: 10px;
    font-size: 1.2rem;
}
