.sct-wrap {
  max-width: 720px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.sct-row {
  display: flex;
 
 
  align-items: center;
}

.sct-input {
  flex: 1;
  min-width: 240px;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
}

.sct-btn {
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.sct-result {
  margin-top: 12px;
}

.sct-events {
  margin: 10px 0 0 18px;
}


.sct-row{
display: flex !important;
}

#sct-btnTrack,#ct-btnTrackOrder,.sct-btn{
padding: 0.7rem 2rem !important;
  border-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  border: 1px solid rgba(0,0,0,0.2);
  margin-top: 0.6rem;

}

#sct_1_tracking,#sct_1_order{
  border-radius:0;
  border-top-left-radius: 0.5rem;
   width: 90%; 
  border-bottom-left-radius: 0.5rem;
}




/* Dark overlay covering the whole screen */
.sct-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: flex;
    align-items: center; /* Vertical center */
    justify-content: center; /* Horizontal center */
}

/* The actual white box */
.sct-modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Close button (X) */
.sct-modal-close {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 24px; cursor: pointer; color: #aaa;
}
.sct-modal-close:hover { color: black; }

/* Table styling inside modal */
.sct-table { width: 100%; border-collapse: collapse; margin-top: 15px; }
.sct-table td, .sct-table th { padding: 10px; border-bottom: 1px solid #eee; text-align: left; }


/*** tabs **/

/* Tab Navigation Styling */
.sct-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: -1px; /* Overlap border with container */
}

.sct-tab-link {
    padding: 10px 20px;
    cursor: pointer;
    background: #f1f1f1;
    border: 1px solid #ccc;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    font-weight: bold;
    transition: 0.3s;
}

.sct-tab-link.active {
    background: #fff;
    border-bottom: 1px solid #fff; /* Hide bottom border */
    color: #ffd600; /* Match your brand color */
}

/* Tab Content Visibility */
.sct-tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 0 5px 5px 5px;
}

.sct-tab-content.active {
    display: block;
}

.sct-row { display: flex; flex-direction:column;gap: 10px; }

.sct-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 99999;
    display: none; /* JS will toggle this to 'flex' */
    align-items: center; 
    justify-content: center;
}

.sct-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 95%;
    max-width: 650px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}