body {
  background-color: #fff;
  font-family: "Inter", sans-serif;
}
p {
  margin: 0;
}
.cstcontainer {
  height: 100vh;
  align-content: center;
}
.register_img img {
  border-radius: 8px;
  width: 100%;
  height: 789px;
  object-fit: cover;
}
.tabs{
  display: flex;
  gap: 0px;
  justify-content: center;
}
.tabs button {
  margin: 0;
  padding: 10px 40px;
  cursor: pointer;
  border: none;
  background: #e9ecef;
  transition: background 0.3s;
}

#profile_image {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.button_wrapper button{
  width: 100%;
  text-align: center;
  margin-top: 24px;
}

.tabs button:nth-child(1){
  border-radius: 8px 0 0 8px;
  border: 1px solid #e2e8f0;
  border-right: 0px;
}
.tabs button:nth-child(2){
  border-radius: 0 8px 8px 0;
  border: 1px solid #e2e8f0;
  border-left: 0px;
}
.btn{
  padding: 10px 24px !important;
  border: none !important;
}

.tabs .active {
  background-color: #67bf2b;
  color: white;
}
.register {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border-radius: 8px;
  background: #f8fafc;
  margin: 0 auto;
  padding: 40px 16px;
  border: 1px solid #e2e8f0;
}
.d-grid button {
  background-color: #67bf2b;
  border: none;
  height: 44px;
}
.iconbtn {
  background: transparent;
  border: 1px solid #dee2e6;
  outline: none;
  border-radius: 0 8px 8px 0;
  padding: 4px 10px;
}

.alert-dismissible .btn-close{
  padding: 8px!important;
}

input,
select {
  height: 44px;
  border: 1px solid #e2e8f0 !important;
}
.form-check-input:checked {
  background-color: #67bf2b;
  border-color: #67bf2b;
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
  margin-top: 20px;
}
.header {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 8px; 
  margin-top: 16px;
}
.logo{
  width:140px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 32px;
  height: 32px;
}
.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid #dee2e6;
}

.dashboard {
  display: flex;
  gap: 30px;
}

.sidebar {
  padding: 16px;
  background: #f8fafc;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border-radius: 8px;
  margin-top: 16px;
  border: 1px solid #e2e8f0;
}
.sidebar a {
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
  padding: 11px 16px;
  color: #000;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.sidebar a:last-child:hover,
.sidebar a:last-child:focus {
  background-color: #dc3545;
  color: white;

}
.sidebar a:hover,
.sidebar a:focus {
  background-color: #67bf2b;
  color: white;
}
.content {
  margin-top: 16px;
  padding: 16px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border-radius: 8px;
  background: #f8fafc;
  margin-bottom: 64px;
  border: 1px solid #e2e8f0;
}

.ratio {
  border-radius: 8px;
  overflow: hidden;
}

#trainingVideo{
  border-radius: 8px;
}

.swiper-slide {
  padding: 16px;
  background-color: #fff;
  border-radius: 8px;
}
.pagination-wrapper {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}
.pagination-dot {
  width: 32px;
  height: 32px;
  font-size: 15px;
  border: 1px solid #67bf2b;
  border-radius: 4px;
  justify-content: center;
  display: flex;
  align-items: center;
}
.pagination-dot.active {
  background-color: #198754 !important;
  color: #fff !important;
  font-weight: bold;
}

.myAlert{
  position: fixed;
  right: 8px;
  z-index: 9999;
  width: 300px;
}

.profile-image-preview {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: border-color 0.3s;
}
.profile-image-preview:hover {
  border-color: #28a745;
}
.profile-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.profile-image-preview .upload-text {
  text-align: center;
  color: #666;
  font-size: 14px;
}
.file-info {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
  text-align: center;
}

@media(max-width: 768px) {
  .register{
    margin-bottom: 24px;
    padding: 16px;
    min-height: auto;
  }
  .dashboard {
    flex-direction: column;
  }
  .user-avatar{
    width: 24px;
    height: 24px;
  }
  .user-name{
    font-size: 14px;
  }
  .pagination-wrapper{
    flex-wrap: wrap;
    gap: 4px;
  }
  .tabs button{
    padding: 10px 24px;
  }
  .cstcontainer {
    padding: 24px 15px;
  }
  .cstcontainer > .row{
    display: flex;
    flex-direction: column-reverse;
  }
  .register_img img{
    height: auto;
    margin-bottom: 24px;
  }
}

iframe {
  border-radius: 8px;
  border: 1px solid #000;
  overflow: hidden;
  display: block;
  margin-top: 24px;
}