
body,textarea {
    display: flex;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
     margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Top Menu */
.top-menu {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    z-index: 100;
    height: 80px; /* Adjust height for new layout */
}

.top-menu .logo img {
    height: 60px;
    width: auto;
}

.top-menu .menu-links {
    display: flex;
    gap: 40px; /* Space between menu items */
    align-items: center;
    justify-content: center;
    flex: 1;
}

.top-menu .menu-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    height: 100%;
    justify-content: center;
}

.top-menu .menu-links a.active {
    background-color: #fef5c5;
    color: #000;
}

.top-menu .menu-links a:hover {
    background-color: #fef5c5;
    color: #000;
}

.top-menu .menu-links i {
    font-size: 24px; /* Icon size */
}
.top-menu .user-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    margin-right: 30px; /* Adds space from the edge */
}

/* Side Menu */
.side-menu {
    width: 270px;
    background-color: #fff;
    padding: 20px 10px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    left: 0;
    top: 76px; /* Adjust for top menu */
    height: calc(100vh - 60px);
    overflow-y: auto;
}

.side-menu ul {
    list-style: none;
    padding: 2;
}

.side-menu ul li {
    margin: 15px 0;
}

.side-menu ul li a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.side-menu ul li a.active {
    background-color: #fef5c5;
    color: #000;
}

.side-menu ul li a:hover {
    background-color: #fef5c5;
    color: #000;
}

.main-content {
    margin-left: 270px; /* Adjust to create space from the side menu */
    padding: 20px;      /* Maintain consistent padding inside the main content */
    margin-top: 80px;   /* Adjust for the top menu */
    flex-grow: 1;
    background-color:#f8f9fa;
}

                    
.content-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}
.card {
    border: 1px solid #ffd000;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  .card-header {
    font-weight: bold;
    padding: 0.5rem 1 rem;

  }
  .input-group .form-control {
    border-radius: 0;
  }
   .input-group {
    gap:10px;
    width:70%;
  }
  .form-label{
  font-size:14px;
  font-weight:500;
  }

img{
    height:70%;
}
.card-body h6{
    margin-bottom:15px;
}
.border1{
  border: 1px solid #ffd000;
  }

.card-body h2{
    margin-bottom:60px;
    font-size: 24px;
    font-weight: 600;
}
.card-body h4{
    font-size: 18px;
    font-weight: 700;
}
.card-header h5{
   font-size: 18px;
}

/* Progress Bar */
.progress-bar-container {
    width: 100%;
    height:10px;
    background-color: fef5c5;
    margin-bottom: 20px;
    position: relative;
}
.progress-bar {
    height: 10px;
    background-color: #ffd001;
    width: 75%; /* Adjust for progress percentage */
    transition: width 0.3s ease;
}
.content-containter {
    background-color: white;
    height: 560px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
p {
    font-size:14px;
}
.form-container {
    display: flex;
    justify-content: space-between;
    flex: 1;
    overflow-y: auto;
    padding-bottom: 20px;
}
.form-content {
    flex: 1;
    padding: 0px 20px;
    background-color: #fff;
    overflow-y: auto;
    margin-right: 10px;
}
.form-content h3 {
    margin-top: 0;
    margin-bottom: 5px; /* Reduce the space between the title and paragraph */
    font-size: 16px;
    color: #333;
    font-weight: bold;
}
.form-content p {
    margin-top: 0; /* Remove any additional top margin */
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px; /* Keep some space below the paragraph */
}
.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-container img {
    max-width: 100%;
    height: auto;
}

.bottom-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: auto; /* Push to the bottom */
}

.radio-group {
    display: flex;
    justify-content: left;
    gap: 10px;
    margin-bottom: 10px;

}

.radio-group label {
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin:10px;
} 

.form-actions {
    display: flex;
    justify-content: left;
    width: 100%;
}

button {
    background-color: #ffd000;
    color: #212529;
    font-family: 'Poppins', sans-serif;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px;
    padding:5px 10px;
    letter-spacing: 1px;
}

.pagination .page-item .page-link {
    color: #333;
}
.pagination  .page-link {
    background-color: #fff;

}

.page-item.active .page-link {
    z-index: 3;
    color: #333;
    background-color: #ffd000;
    border-color:#fff;
}

#sidebar {
      height: 100vh;
      position: fixed;
      left: 0;
      top: 85px;
      transition: all 0.3s ease;
      width: 250px;
      padding-top: 20px;
      z-index: 999;
    }
    .main-content {
      margin-left: 250px;
      transition: margin-left 0.3s ease;
    }
    .main-content.shifted {
      margin-left: 250px;
    }
    .submenu{padding: 0px;}
        .myin{width: 250px; height: auto; border: 1px solid #ffd000;}
    .link-section {
                        display: grid;
                        grid-template-columns: repeat(2, 1fr);
                        gap: 20px;
                        margin-top:20px;
                    }

                    .link-box {
                        background-color: #fff;
                        padding: 20px;
                        border: 1px solid #ddd;
                        border-radius: 10px;
                        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
                        border: 1px solid #ffd000; width:100%
                    }

                    .link-box label {
                         color: #000;
                        font-size: 14px;
                        display: block;
                        margin-bottom: 10px;
                        font-weight:600;
                    }

                    .link-box input,
                    .link-box select {
                        width: 100%;
                        padding: 10px;
                        margin-bottom: 10px;
                        border: 1px solid #ddd;
                        border-radius: 5px;
                        font-size: 14px;

                        color: #4c4c4b;
                    }

                    .link-box button {
                        background-color: #ffd000;
                        color: #212529;
                        font-family: 'Poppins', sans-serif;
                        padding: 10px 15px;
                        border: none;
                        border-radius: 5px;
                        cursor: pointer;
                        transition: background-color 0.3s ease;
                        font-size: 16px;
                        padding:10px 20px;
                        letter-spacing: 1px;
                    }

                    .link-box button:hover {
                        background-color: #e6c000;
                    }
                    .coupon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.coupon-box {
    padding: 10px 20px 10px 20px;
    border-radius: 5px; /* Changed to make box rectangular */
    color: #fff;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: teal; /* Default color */
}


 .fa-angle-left{display: none;}
 .leaderboard-container {display: flex;gap: 30px;}
    @media (max-width: 991px) {
        .leaderboard-container {
                     display: block;
             }
        .text-end{text-align: center !important;}
        .coupon-grid {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 20px;
        }
        .link-section {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 20px;
            margin-top:20px;
        }
        .myin{idth: 100%;}
        .content-row {
            flex-direction: column;
        }
        
        .fa-angle-left{display: block;}
      .main-content {
        margin-left: 0;
      }
      #sidebar.collapsed {
      width: 0;
      padding: 0;
      display: none;
    }
    .top-menu .menu-links{display: none;}
    }
    /* When sidebar is open, shift the main content */
.table-responsive {
  overflow-x: auto; /* Enables horizontal scrolling on small screens */
  -webkit-overflow-scrolling: touch; /* For smoother scrolling on iOS */
}
.table--alternate {
   
}
.table--alternate th, .table--alternate td {
    white-space: wrap; 
}
/*ul.submenu {
    background: aliceblue;
}*/
.submenu a {
    font-size: 13px !important;
/*    font-style: italic;*/
    padding-left: 30px !important;
}font-size: 13px !important;
    padding-left: 30px !important;
}
.text-end{text-align: center !important;}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 0 .0rem !important;
}