/**********************************************************************************admin(add_blog)***********************************************/
/* General Styles */
/*body {*/
/*    background-color: #f8f9fa;*/
/*    font-family: Arial, sans-serif;*/
/*}*/

/* Add Blog Page Container */
.add-block-container {
    max-width: 600px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(123, 219, 26, 0.9);
    margin-top: 50px;
    margin-left: 400px;
}

/* Form Styling */
.add-block-form {
    margin-top: 20px;
}

.add-block-form-label {
    font-weight: bold;
    margin-bottom: 5px;
}

.add-block-input-group .add-block-form-input, 
.add-block-input-group .add-block-form-textarea {
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
    padding: 8px;
}

/* Submit Button */
.add-block-submit-btn {
    background-color: rgb(123, 219, 60);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: 0.3s ease;
}

.add-block-submit-btn:hover {
    background-color: rgb(123, 219, 26);
}

/* Heading */
.add-block-title {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

/* Success & Error Messages */
.add-block-success-text {
    color: green;
    text-align: center;
    font-weight: bold;
}

.add-block-error-text {
    color: red;
    text-align: center;
    font-weight: bold;
}


/**********************************************************blog(view blog)********************************************/
.row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; /* Ensures all cards stretch to the same height */
}

.blog-item {
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensures uniform height */
}

.blog-item .p-3 {
    flex-grow: 1; /* Pushes the button to the bottom */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/****************************************************blog-detail***********************************************************/
 /* General styling */
        .blog-detail-container {
            max-width: 800px;
            margin: auto;
            padding: 20px;
        }
        .blog-detail-card {
            border: none;
            box-shadow: 0px 4px 10px rgba(123, 219, 26, 0.9);
            padding: 20px;
            border-radius: 10px;
        }
        .blog-detail-title {
            font-size: 28px;
            font-weight: bold;
            text-align: center;
        }
        .blog-detail-content {
            font-size: 18px;
            line-height: 1.6;
            text-align: justify;
        }
        /*.blog-detail-btn {*/
        /*    color: rgb(123, 219, 26);*/
        /*    background-color: yellow;*/
        /*}*/

        /* Image styling for responsiveness */
        .blog-detail-img {
            max-width: 100%;
            height: auto;
            max-height: 400px;
            object-fit: cover;
            border-radius: 10px;
            display: block;
            margin: 0 auto;
        }
        
        /* Responsive Styles */
        @media (max-width: 768px) {
            .blog-detail-container {
                padding: 15px;
            }
            .blog-detail-title {
                font-size: 22px; /* Smaller title on small screens */
            }
            .blog-detail-content {
                font-size: 16px;
            }
            .blog-detail-img {
                max-height: 250px; /* Reduce image height for better mobile fit */
            }
        }

        @media (max-width: 480px) {
            .blog-detail-container {
                padding: 10px;
            }
            .blog-detail-title {
                font-size: 20px;
            }
            .blog-detail-content {
                font-size: 15px;
            }
            .blog-detail-img {
                max-height: 200px;
            }
        }
/*************************************************************************login admin*************************************************************        */
  .login-container {
            max-width: 400px;
            margin: 100px auto;
            margin-top: 200px;
            padding: 20px;
            border-radius: 10px;
            /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
            box-shadow: 0px 4px 10px rgba(123, 219, 26, 0.9);
            text-align: center;
        }
  .btn-btn-login{
            background-color: rgb(123, 219, 26);
            border: none;
        }
        .btn-btn-login:hover{
            background-color: rgb(133, 250, 7);
        }
          .btn-btn-back{
            color: rgb(123, 219, 26);
            border: none;
        }