*,
    *:before,
    *:after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Open Sans', Helvetica, Arial, sans-serif;
      background:  linear-gradient(135deg, rgb(40, 116, 252) 0%,rgb(2, 3, 129) 100%);
      display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
      
    }
    .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgb(2, 3, 129);
    padding: 15px 30px;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
.navbar-brand {
    font-size: 22px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}



.nav-btn {
    display: inline-block;
    padding: 8px 16px;
    margin: 0;
    line-height: 1; /* Avoid extra spacing */
    background: linear-gradient(to right, #0af 0, #40f599 51%, #0af 100%);
    background-size: 200% 100%;
    background-position: left center;
    color: #fff;
    cursor: pointer;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-weight: bold;
    border-radius: 25px;
    text-decoration: none;
    border: none;
    transition: background-position 0.5s ease, color 0.3s ease;
    vertical-align: middle; /* Keep aligned in flex row */
}

.nav-btn:hover {
    background-position: right center;
    color: #fff;
}


.profile-icon {
    font-size: 28px;
    cursor: pointer;
    position: relative;
}

.profile-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 35px;
    right: 0;
    background: white;
    color: rgb(2, 3, 129);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    overflow: hidden;
    min-width: 150px;
    z-index: 999;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: rgb(2, 3, 129);
    font-weight: bold;
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background: #f0f0f0;
}
.dropdown-menu.show {
    display: block;
}

.cont {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    width: 870px;
    height: 520px;
    margin: 0;
    margin-top: 40px;
    margin-bottom: 40px;
    background: #fff;
    display: flex;
    box-shadow:
        10px 10px 15px rgb(148, 237, 192),
        
        inset  10px 10px 15px rgb(148, 237, 192);
}

.form {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    text-align: center;
}


    .side-container {
      width: 30%;
      background: rgb(2, 3, 129) 100%;
      color: #fff;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
    }

    .side-container p {
      font-size: 16px;
      margin-bottom: 15px;
      max-width: 220px;
    }

    .side-container button {
      background: linear-gradient(to right, #0af 0, #40f599 51%,#0af 100%);
      background-size: 200% 100%;
      background-position: left center;
      border: none;
      color: #fff;
      width: 120px;
      height: 45px;
      border-radius: 30px;
      font-size: 14px;
      cursor: pointer;
      transition: 0.3s;
    }

    .side-container button:hover {
        background-position: right center;
        color: #fff;
            }

    h2 {
      font-size: 26px;
      text-align: center;
      color: rgb(40, 116, 252);
    }

    input {
      width: 100%;
      max-width: 350px;
      font-size: 16px;
      padding: 17px 20px;
      margin-top: 20px;
      border-radius: 10px;
      border: none;
      background: #ebebeb;
      outline: none;
      font-weight: bold;
    }

input:focus,
input:active {
    border: #40f599;
    box-shadow: 0 0 10px #40f599;
}


    .forgot-pass,a {
      margin-top: 15px;
      text-align: center;
      font-size: 12px;
      color: rgb(40, 116, 252);
    }

   button.submit {
  display: block;
  margin: 0 auto;
  margin-top: 15px;
  width: 130px;
  height: 45px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(to right, #0af 0, #40f599 51%,#0af 100%);
  background-size: 200% 100%;
  background-position: left center;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  transition: background-position 0.5s ease;
}

button.submit:hover {
  background-position: right center;
  color: #fff;
}

    .flip {
    transform: rotateY(180deg);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform-origin: center;
}


.mobile-nav-text {
    display: none;
}

.dashboard-container {
    background: #fff;
    width: 100%;
    max-width: 870px;
    margin: 80px auto 20px;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 20px;
    box-shadow: 10px 10px 15px rgba(70, 70, 70, 0.15),
                inset 10px 10px 15px rgba(70, 70, 70, 0.05);
    position: relative;
}

.dashboard-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 20px;
}

.tab-link {
    text-decoration: none;
    padding: 10px 20px;
    background: #f0f0f0;
    border-radius: 25px;
    color: #333;
    font-weight: bold;
    transition: 0.3s ease;
}

.tab-link:hover {
    background: #ddd;
}

.tab-link.active {
    background: rgb(2, 3, 129);
    color: #fff;
}


.custom-dropdown {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    cursor: pointer;
    user-select: none;
    border-radius: 8px;
    padding: 10px;
}

.custom-dropdown .selected {
    background: linear-gradient(to right, #0af, #40f599);
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    position: relative;
}


.custom-dropdown .selected i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.custom-dropdown .options {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 15px;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    z-index: 10;
    padding: 10px;
}

.custom-dropdown .options div {
    padding: 10px 15px;
    border-radius: 10px;
    margin: 5px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.custom-dropdown .options div:hover {
    background: linear-gradient(to right, #0af, #40f599);
    color: #fff;
}

.hidden-input {
    display: none;
}

/* images upload css */
   .upload-container {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      /* align-items: flex-start; */
      margin-top: 20px;
      align-items: center;
      justify-content: center;
    }

    .image-box,
    .upload-more-box {
      position: relative;
      width: 120px;
      height: 120px;
      border-radius: 10px;
      overflow: hidden;
      background: #f0f0f0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .upload-more-box {
      border: 2px dashed #2196F3;
      cursor: pointer;
      color: #2196F3;
      font-family: sans-serif;
      text-align: center;
      flex-direction: column;
    }

    .upload-more-box:hover {
      background: #e3f2fd;
    }

    .upload-more-box i {
      font-size: 24px;
    }

    .image-box img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .remove-btn {
      position: absolute;
      top: 5px;
      right: 5px;
      background: #fff;
      border-radius: 50%;
      color: #f44336;
      border: 1px solid #ccc;
      width: 24px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 2;
    }

    .cover-label {
      position: absolute;
      bottom: 5px;
      left: 5px;
      background: rgba(0, 0, 0, 0.6);
      color: #fff;
      font-size: 12px;
      padding: 2px 6px;
      border-radius: 4px;
    }



.input-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 15px;
}

.input-group {
    flex: 1;
    min-width: 350px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.input-group label {
    font-size: 14px;
    margin-top: 10px;
    color: rgb(2, 3, 129);
}

.input-group input , textarea{
 width: 100%;
      max-width: 400px;
      font-size: 16px;
      padding: 17px 20px;
      margin-top: 20px;
      border-radius: 10px;
      border: none;
      background: #ebebeb;
      outline: none;
      font-weight: bold;
}

.input-group input:focus, textarea:focus {
    box-shadow: 0 0 10px #40f599;
}
#payment-fields {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 10px;
}
.error{
  color: red;
  margin-top: 10px;
  min-width: 350px;
}
.success{
  margin: 10px;
  color:#00bb5d;
}

.step-error-box {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 10px 15px;
    margin: 10px auto;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
    width: 100%;
    max-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 2px solid rgb(2, 3, 129);
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 10px;
    border: 1px solid rgb(2, 3, 129);
    text-align: center;
}

th {
    background-color: rgb(2, 3, 129);
    color: #fff;
}

.status {
    font-weight: bold;
    text-align: center;
    /* padding: 8px 12px; */
    /* border-radius: 6px; */
    display: block;
    /* text-decoration: none; */
}

.status.pending {
    background-color: #d9d8d8;
    color: #555;
}

.status.approved{
    background-color: #b9eac5;
    color: #155724;
}
.status.accepted {
    background-color: #b9eac5;
    color: #155724;
    box-sizing: border-box;
}

.status.declined {
    background-color: #f7b7bc;
    color: #721c24;
}
.status a {
    color: inherit;
}

.review-btn {
            background-color: #0033cc;
            color: #fff;
            padding: 8px 14px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            text-decoration: none;
            font-size: 14px;
        }
        .review-btn:hover {
            background-color: #001f99;
        }
#loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 3, 129, 0.5);
    z-index: 9999;
    color: #fff;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Arial', sans-serif;
}

#loading-overlay p {
    font-size: 18px;
    margin-top: 20px;
}

.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid rgba(2, 3, 129, 1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}




/* Responsive CSS */

@media (max-width: 1024px) {
    .side-container{
        width: 40%;
    }

    .dashboard-container {
        width: 95%;
        padding: 20px;
    }

    .upload-container {
        justify-content: center;
    }

    .cont {
        width: 90%;
        border-radius: 20px;
        overflow: hidden;
        position: relative;
        height: 520px;
        margin: 0;
        margin-top: 40px;
        margin-bottom: 40px;
        background: #fff;
        display: flex;
        box-shadow:
            10px 10px 15px rgb(148, 237, 192),
            
            inset  10px 10px 15px rgb(148, 237, 192);
    }

    .form {
        width: 100%;
        padding: 20px;
    }

}

/* Hide side-container and show inline links on mobile */
@media (max-width: 768px) {
    .side-container {
        display: none;
    }
    body {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        flex-direction: column;
    }
    .mobile-nav-text {
        display: block;
        margin-top: 20px;
        font-size: 14px;
        color: #333;
    }

    .mobile-nav-text a {
        color: #0af;
        text-decoration: none;
        font-weight: bold;
    }

    .mobile-nav-text a:hover {
        text-decoration: underline;
    }

    .form {
        width: 100%;
        max-width: 400px;
    }


    .cont {
        width: 90%;
        height: 500px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .dashboard-container {
        padding: 20px;
    }

    .upload-container {
        gap: 8px;
    }

    .image-box,
    .upload-more-box {
        width: 100px;
        height: 100px;
    }

    .custom-dropdown .selected {
        font-size: 14px;
        padding: 10px 16px;
    }

    .custom-dropdown .options div {
        font-size: 14px;
        padding: 8px 12px;
    }

    .step-error-box {
        font-size: 13px;
        padding: 8px 12px;
    }

.dashboard-container .table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    margin-top: 10px;
}

.dashboard-container table {
    min-width: 600px; /* ensures horizontal scroll is triggered on smaller screens */
    width: 100%;
    border-collapse: separate;
}

    .review-btn {
        padding: 6px 10px;
        font-size: 13px;
    }

    .input-group {
        align-items: center;
        padding-left: 10px;
    }

    .heading {
        font-size: 20px;
    }
}


@media (max-width: 480px) {
    .dashboard-container {
        padding: 15px;
    }
    

    .cont {
        width: 95%;
        height: 600px;
        margin-top: 60px;
        margin-bottom: 30px;
        border-radius: 10px;
        box-shadow: none;
    }

    .form {
        padding: 15px;
    }

    .input-group {
    width: 100% !important;
    max-width: 100% !important;
        padding-left :20px;
        padding-right :20px;
        margin-bottom: 15px;
        align-items: flex-start;
    }

.input-group input,
.input-group textarea {
    width: 100% !important;
    max-width: none !important;
    padding: 14px 16px;
    font-size: 15px;
    box-sizing: border-box;
}


    .custom-dropdown {
        width: 100%;
        max-width: 100%;
    }

    button.submit {
        width: 100%;
    }

    .dropdown-menu {
        right: 10px;
    }

    .heading {
        font-size: 18px;
    }
    .error{
        min-width: 320px;
    }
    .h{
        font-size: 16px;
        padding: 10px;
    }
    table{
        font-size: 12px;
    }
    #previewOverlay img {
        width: 70%;
    }
}

.input-group {
  margin-bottom: 15px;
}

.input-group label {
  display: block;
  margin-bottom: 6px;
  color: #333;
  font-weight: bold;
  font-size: 15px;
}

.custom-select {
    width: 15%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  color: #333;
  outline: none;
  appearance: none;
  -webkit-appearance: none; /* For Safari */
  -moz-appearance: none; /* For Firefox */
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="%23333"><polygon points="0,0 12,0 6,6"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  cursor: pointer;
  transition: border 0.3s ease;
}

.custom-select:focus {
  border-color: #0066ff;
  box-shadow: 0 0 5px rgba(0, 102, 255, 0.4);
}
