/*============ [Sidebar] ============*/
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.link.active{
  background-color: #ed8a39;
  border-bottom: 0 !important;
  
  border-radius: 10px;
  color: white !important;
}
html,
body,
input,
textarea,
select {
  font-family: "Alexandria", sans-serif;
}

html,
body {
  overflow-x: hidden;
}

:root {
  --main-color: #ed8a39;
  --light-color: #000000;
  --dark-color: #ed8a39;
  --grey1-color: #b5b5b5;
  --grey2-color: #efefef;
  --white-color: #fff;
  --black-color: #000;
  --main-tran: 0.3s;
  --sec-tran: 0.5s;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

::selection {
  color: var(--white-color);
  background-color: var(--main-color);
}



.page {
  display: flex;
  min-height: 100vh;
}

.page .sidebar {
  width: 250px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-left: 0.3px solid rgba(65, 62, 62, 0.3);
  height: 100vh;
  transition: var(--sec-tran);
  background-color: var(--white-color);
  z-index: 1;
  font-size: 18px;
  position: fixed;
  right: 0;
  overflow-y: auto;
  max-height: 100vh;
  font-weight: bold;

}

.page .sidebar .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.page .sidebar .logo img {
  width: 150px;
  max-width: 100%;
}

.page .sidebar .links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page .sidebar .links .link {
  width: 100%;
  display: block;
  padding: 10px;
}

.page .sidebar .links .link {
  font-weight: 300;
  color: var(--light-color);
}

.page .sidebar .links .link.active {
  color: var(--main-color);
  font-weight: 500;
  border-bottom: 3px solid var(--main-color);
}

@media (max-width: 767px) {
  .page .sidebar {
    position: fixed;
    right: -300px;
  }

  .page .sidebar.openned {
    right: 0;
    width: 300px;
    box-shadow: 0 0 25.8px #0000000f;
  }

  .page .content .header .container .name .menu-icon,
  .page .sidebar .head .menu-icon {
    display: flex !important;
  }
}

/*============ [Header] ============*/
.page .content {
  width: calc(100% - 250px);
  margin-right: 250px;
}
@media(max-width:767px){
  .page .content{
    margin-right: 0;
  }
}

.page .content .header {
  box-shadow: 0px 1px 4px 0px #15223266;
}

.page .content .header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  /* border-bottom: 0.5px solid #93a6c4; */
}

.page .content .header .container .name {
  display: flex;
  align-items: center;
  gap: 10px;

}

.page .content .header .container .name h1 {
  font-weight: bold;

}

.page .content .header .container .name h1 {
  font-size: 25px;
}

.page .content .wrapper .container .analytics .head {
  font-size: 22px;
}

.modal-btn-new {
  width: 100px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0px 1px 4px 0px #15223266;
  color: var(--main-color);
}

.drag-btn {
  border: 1px dashed var(--main-color) !important;
  padding: 9px;
  border-radius: 10px;
  width: 100%;
  cursor: pointer;

}

.file-upload {
  width: 100%;
}

.page .content .header .container .name .menu-icon,
.page .sidebar .head .menu-icon {
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 35px;
  height: 35px;
  border-radius: 12px;
  background-color: var(--main-color);
}

.page .content .header .container .name .menu-icon i,
.page .sidebar .head .menu-icon i {
  color: var(--white-color);
  font-size: 20px;
  transform: scaleX(0.9);
}

.page .content .header .user .data .image {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  overflow: hidden;
}

.page .content .header .user .data .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page .content .header .user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 225px;
  height: 50px;
  padding: 0 10px;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
}

.page .content .header .user .data {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page .content .header .user .data span {
  font-weight: 400;
  color: var(--dark-color);
}

@media (max-width: 615px) {
  .header .container {
    flex-direction: column;
    gap: 20px;
  }

  .header .container .name h1 {
    font-size: 24px;
  }
}


/*============ [Content] ============*/
.page .content .wrapper {
  margin-top: 30px;
}

.page .content .wrapper .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page .content .wrapper .container .analytics .head {
  margin-bottom: 20px;
}



.page .content .wrapper .container .analytics .boxes .box {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  padding: 20px;
  height: 120px;
  border-radius: 20px;
  background: url('../backgroundLogo.png');
  background-repeat: no-repeat;
  margin-bottom: 20px;
  transition: 0.5s;
  background-position : 100% 100%;
}
.page .content .wrapper .container .analytics .boxes .box:hover{
  background: url('../backgroundLogo2.png');
  background-repeat: no-repeat;

}

.page .content .wrapper .container .analytics .boxes .box .title {
  font-size: 20px;
  font-weight: 600;
  color: var(--white-color);
}

.page .content .wrapper .container .analytics .boxes .box .number {
  font-weight: 700;
  font-size: 32px;
  color: var(--white-color);
}

.data-table {
  padding: 20px;
  margin-top: 30px;
  overflow-x: auto;
  background-color: var(--white-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

.data-table .head {
  font-size: 24px;
  margin-bottom: 20px;
}

.data-table table {
  width: 100%;
  border-collapse: collapse;
}

.data-table table thead tr {
  font-size: 16px;
  border-bottom: 1px solid var(--grey1-color);
}

.data-table table tbody tr {
  height: 100px;
}

.data-table th,
.data-table td {
  padding: 15px;
  text-align: right;
}

.data-table th {
  color: #5a607f;
  font-weight: 400;
}

.data-table td {
  font-size: 14px;
  color: #131523;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table .image-placeholder2 {
  width: 150px !important;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  max-width: 100%;
}

.data-table .button {
  display: flex;
  justify-content: end;
}

.data-table .button .btn {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: 100px;
  margin-top: 20px;
  padding: 10px 0;
  color: var(--white-color);
  text-decoration: none;
  border-radius: 12px;
  font-size: 16px;
  background-color: var(--main-color);
  transition: background-color var(--main-tran);
}

.data-table .button .btn:hover {
  background-color: #002f7a;
}

@media(max-width:600px) {
  .page .content .wrapper .container .analytics .boxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }

  .modal-content {
    padding: 0 !important;
  }
}

@media(max-width:280px) {
  .page .sidebar .head {
    justify-content: initial;
  }
}

.dropdown-menu {
  text-align: right;
  width: 100%;
  inset: initial;
}

.filtering-btn {
  background-color: var(--main-color);
  color: var(--white-color);
  border-radius: 10px;
}

.filtering-btn2 {
  border: 1px solid #979797;
  color: #7E84A3;
}


.btn-page-primary {
  border-radius: 10px;
  border: 1px solid rgb(255, 255, 255);
  box-shadow: 0px 1px 4px 0px rgba(21, 34, 50, 0.4);

}

.custom-pagination .page-link {
  color: #4a5568;
  border: none;
  margin: 0 4px;
  font-weight: 500;
  background-color: transparent;
  padding: 6px 10px;
  transition: color 0.2s ease;
}

.custom-pagination .page-item.active .page-link {
  color: #ed8a39;
  font-weight: 700;
  background-color: transparent;
}

.custom-pagination .page-link:hover {
  color: #ed8a39;
}

.custom-pagination .page-link.dots {
  cursor: default;
  pointer-events: none;
  color: #a0aec0;
}

.modal-content {
  background-color: #fff;
  border-radius: 1rem;
}

.modal-body .form-control {
  border-radius: 0.5rem;
}

.border-dashed {
  border: 2px dashed #ccc;
  padding: 1rem;
  text-align: center;
  border-radius: 0.5rem;
  color: #999;
}

.modal {
  z-index: 1080;
}

@media(max-width:450px) {
  .data-table .data-table-controls {
    justify-content: center !important;
  }

  .buttons-container {
    flex-wrap: wrap;
  }

  .modal-btn-new {
    width: 100%;
  }

  .page .content .header .container .name h1,
  .page .content .wrapper .container .analytics .head {
    font-size: 16px;
  }
}
textarea{
  resize: none;
}
.file-preview.d-none {
  display: none !important;
}

.new-border-modal {
  width: 100%;
}

.submit-primary-btn {
  background-color: var(--main-color);
  color: white;
  border-radius: 10px;
  width: 80%;
  max-width: 100%;
  padding: 10px 0;
}

.second-submit-btn {
  width: 15%;
  max-width: 100%;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgb(225, 222, 222);
  border-radius: 10px;
}
@media(max-width:360px){
  .second-submit-btn, .submit-primary-btn{
    width: 100%;
  }
}
tbody, td, tfoot, th, thead, tr{
  text-align: center !important;
}
@media(min-width : 576px){
  .container, .container-sm{
    max-width: 100% !important;
  }
}

.data-table {
  border: 1px solid #ccc;
}

.welcome-text {
  font-size: 24px;
  margin-bottom: 10px;
}

.table thead th {
  white-space: nowrap;
  text-align: center;   
  vertical-align: middle; 
  padding: 30px;
}
@media(max-width:767px){
  .page .content{
    width: 100%;
  }
}
