@font-face {
  font-family: 'PublicSans';
  src: url('/fonts/PublicSans.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'PublicSans', sans-serif;
  line-height: 1.5;
  color: #222;
}

.page-layout {
  display: flex;
}

.sidebar {
  width: 30%;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  padding: 20px;
  background-color: #f8f7fa;
  border-right: 1px solid #e0e0e0;
  overflow: hidden;
}

.sidebar-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.sidebar-bg img {
  width: 100%;
  height: auto;
  display: block;
}

.logo {
  max-width: 120px;
  height: auto;
  position: relative;
  z-index: 2;
}

.main-content {
  width: 70%;
  margin-left: 30%;
  padding: 20px 50px;
  background-color: #fff;
  overflow-y: auto;
}

.main-header {
  margin-top: 10px;
  margin-bottom: 40px;
}

.main-header h1 {
  font-size: 32px;
  font-weight: 600;
  color: #111;
  margin-bottom: 4px;
}

.main-header h2 {
  font-size: 18px;
  font-weight: 400;
  color: #666;
}

.section {
  width: 100%;
  margin-bottom: 30px;
}

.section h3 {
  font-size: 22px;
  font-weight: 600;
  color: black;
  margin-bottom: 6px;
}

.section p {
  font-size: 15px;
  color: #555;
  margin-bottom: 18px;
}

.info-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.form-group input {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #00d9a6;
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-row .form-group {
  flex: 1;
  min-width: 200px;
}

.options {
  display: flex;
  gap: 20px;
  margin-top: 4px;
}

.options label {
  font-weight: 400;
  color: #444;
  font-size: 14px;
}

.form-group .options {
  display: flex;
  gap: 25px;
}

.form-group .options label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}



.form-actions {
  text-align: right;
  margin-top: 20px;
}


.arrow-icon {
  stroke: white;
}


.main-header {
  position: sticky;
  top: 0;
  background: white;
  padding: 15px 0;
  text-align: center;
  border-bottom: 2px solid #eee;
  z-index: 10;
}

.form-step {
  display: none;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  margin-top: 20px;
}

.form-step.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.next-btn,
.prev-btn {
  background-color: #04d4a4;
  color: white;
  border: none;
  padding: 8px 16px !important;
  font-size: 16px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.next-btn:hover,
.prev-btn:hover {
  background-color: #03b890;
}

.arrow-icon {
  stroke: white;
}

.icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
}


.options {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}

.options label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #333;
}


.custom-mb {
  margin-bottom: 15px !important;
}

.edu-section {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
  background: #fafafa;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.edu-section h4 {
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 6px;
}

.edu-section .form-group {
  margin-bottom: 15px;
}

.edu-section .form-group input {
  width: 100%;
}

.edu-section .options {
  flex-wrap: wrap;
  gap: 15px;
}

.edu-section .options label {
  background: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: all 0.2s ease;
}

.edu-section .options label:hover {
  border-color: #04d4a4;
  background: #f1fffb;
}


.status-options {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
}

.status-options label {
  white-space: nowrap;
}


.custom-textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  font-size: 14px;
  color: #333;
  resize: vertical;
  outline: none;
}

.custom-textarea::placeholder {
  color: #757575;
  padding-left: 2px;
}

input[type="radio"] {
  outline: none;
  box-shadow: none;
}

input[type="radio"]:focus {
  outline: none;
  box-shadow: none;
}

@media (min-width: 992px) {
  .main-header .logo {
    display: none;
  }
}



@media (max-width: 767px) {
  .sidebar {
    display: none; 
  }

  .main-content {
    width: 100%; 
    margin-left: 0; 
    padding: 15px 20px; 
  }
}


@media (max-width: 767px) {
    .programme-of-study .checkbox-table {
        display: block !important;
    }

    .programme-of-study .checkbox-table tr {
        display: block !important;
    }

    .programme-of-study .checkbox-table td {
        display: block !important;
        width: 100% !important;
        margin-bottom: 8px;
    }
}


@media (max-width: 768px) {
    .responsive-radios .options {
        display: block;
        text-align: left;  
    }

    .responsive-radios .options label {
        display: flex;              
        align-items: center;     
        width: 100%;
        margin: 8px 0;
    }

    .responsive-radios .options label input[type="radio"] {
        margin-right: 8px;      
    }
}


.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #00d9a6;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

