.modal-content-login {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* Media query for screens smaller than 768px (phones) */
@media screen and (max-width: 768px) {
  .modal-content-login {
    width: 90%;
    /* Adjust width for smaller screens */
    top: 60px;
  }
}

/* Media query for screens larger than 768px (laptops, desktops, etc.) */
@media screen and (min-width: 769px) {
  .modal-content-login {
    width: 30%;
    /* Adjust width for larger screens */
    top: 60px;
  }
}









.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  width: 100%;
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.container {
  padding: 2px 16px;
}

.card-link {
  text-decoration: none !important;
  /* Remove default underline */
  color: inherit;
  /* Inherit color from parent */
}

.card-link:hover,
.card-link:focus {
  /* Your hover/focus styles here */
  /* For example, you can add a box-shadow */
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  /* Or change background color */
  background-color: #f0f0f0;
}

body {
  font: 14px/1 'Open Sans', sans-serif;
  color: #555;
  background: #f4f2ee;
  font-family: poppins;
  font-size: 12px;
}

h1 {
  padding: 50px 0;
  font-weight: 400;
  text-align: center;
}

p {
  margin: 0 0 20px;
  line-height: 1.5;
}















main {
  min-width: 320px;
  max-width: 1000px;
  padding: 30px;
  margin: 0 auto;
}

/* Hide all sections by default */
section {
  display: none;
  padding: 20px 0 0;
  min-height: 500px;
}

/* Hide radio buttons */
input[type="radio"] {
  display: none;
}

/* Tabs style */
label {
  display: inline-flex;
  flex-direction: column; /* icon di atas teks */
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-weight: 600;
  color: #666;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

label i {
  font-size: 18px;
  margin-bottom: 5px;
  color: inherit;
}


/* Hover effect */
label:hover {
  color: #000;
  cursor: pointer;
}

/* Active tab */
input[type="radio"]:checked + label {
  color: #3d62ad;
  border-bottom: 3px solid #0073b1; /* LinkedIn blue underline */
}

/* Show content for active tab */
#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4,
#tab5:checked ~ #content5,
#tab6:checked ~ #content6,
#tab7:checked ~ #content7,
#tab8:checked ~ #content8 {
  display: block;
}




/* .tabs-container {
  text-align: center;
  z-index: 9;
  position: relative;
} */


.tabs-container {
  position: relative;
  z-index: 9;
  text-align: center;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 8px 0;
  scroll-behavior: smooth;
}

.tabs-container::-webkit-scrollbar {
  display: none;
}

.tabs-container input[type="radio"] {
  display: none;
}

.tabs-container label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 12px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
  min-width: 70px;
  flex-shrink: 0;
  font-weight: 600;
  color: #666;
  border-bottom: 3px solid transparent;
}

.tabs-container label svg {
  width: 24px;
  height: 24px;
}

.tabs-container label span {
  font-size: 11px;
  text-align: center;
  line-height: 1.2;
}

.tabs-container label:hover {
  color: #000;
}

.tabs-container input[type="radio"]:checked + label {
  color: #3d62ad;
  border-bottom: 3px solid #0073b1;
}

/* Arrow Navigation */
.tab-nav-arrow {
  display: none;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: all 0.3s ease;
}

.tab-nav-arrow:hover {
  background: #f5f5f5;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transform: translateY(-50%) scale(1.1);
}

.tab-nav-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.tab-nav-arrow.left {
  left: 8px;
}

.tab-nav-arrow.right {
  right: 8px;
}

.tab-nav-arrow svg {
  width: 20px;
  height: 20px;
  color: #666;
}

.tab-nav-arrow.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* Mobile Version */
@media (max-width: 768px) {
  .tabs-container {
    justify-content: flex-start;
  }
  
  .tab-nav-arrow {
    display: flex;
  }
}

@media screen and (max-width: 650px) {
  .tabs-container label {
    font-size: 10px;
    padding: 8px 10px;
    min-width: 60px;
  }
}

@media screen and (max-width: 400px) {
  .tabs-container label {
    padding: 8px;
    min-width: 55px;
  }
  
  .tabs-container label span {
    font-size: 10px;
  }
}




@media screen and (max-width: 650px) {
  label {
    font-size: 10px;
    padding-left: 10px;
  }

  label:before {
    margin: 10;
    font-size: 18px;
  }
}

@media screen and (max-width: 400px) {
  label {
    padding: 15px;
  }
}


/* Google Sign-In Button */
.google-btn {
  display: inline-flex;
  align-items: center;
  background-color: #fff;
  color: #8a8484;
  border: 1px solid #bcb9b9;
  border-radius: 2px;
  padding: 7px 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  text-align: center;
  font-size: 73%;
}

.google-btn:hover {
  background-color: #eeeeee;
}

.google-btn:focus {
  outline: none;
  box-shadow: 0 0 3px 2px rgba(66, 133, 244, 0.6);
}

.google-btn img {
  margin-right: 10px;
}

.google-btn span {
  display: inline-block;
  vertical-align: middle;
}





.custom-alert {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #f2f2f2;
  color: #333;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: none;
}

.custom-alert.show {
  display: block;
}

.custom-alert #custom-alert-message {
  margin-right: 10px;
}

.close-btn {
  cursor: pointer;
}
