 body {
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     background-color: #f5f5f5;
     display: flex;
     flex-direction: column;
     justify-content: space-between;
     height: 100%;
 }

 .header-section {
     background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
     padding: 1.5rem 0;
     border-bottom: 3px solid #4caf50;

 }

 .main-content-view {
     flex: 1;
 }

 .header-content {
     display: flex;
     align-items: center;
     gap: 1rem;
 }

 .header-logo {
     height: 80px;
     width: 80px;
     object-fit: contain;
 }

 .header-text h1 {
     font-size: 1.2rem;
     font-weight: 600;
     color: #2c3e50;
     margin: 0;
 }

 .header-text p {
     font-size: 0.9rem;
     color: #030000ff;
     margin: 0.25rem 0 0 0;
 }

 .form-container {
     /* background: white; */
     border-radius: 8px;
     padding: 2rem;
     /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
 }

 .form-title {
     color: #0f5757;
     font-weight: 700;
     font-size: 1.5rem;
     margin-bottom: 1.5rem;
     padding-bottom: 0.75rem;
 }

 .form-label {
     font-weight: 600;
     color: #333;
     margin-bottom: 0.5rem;
 }

 .form-label .required {
     color: #dc3545;
     margin-left: 3px;
 }

 .form-control,
 .form-select {
     border: 1px solid #ddd;
     border-radius: 5px;
     padding: 0.625rem;
 }

 .form-control:focus,
 .form-select:focus {
     border-color: #0f5757;
     box-shadow: 0 0 0 0.2rem rgba(0, 105, 92, 0.15);
 }

 .form-check-input {
     border: 2px solid #0f5757;
 }

 .form-check-input:checked {
     background-color: #0f5757;
     border-color: #0f5757;
 }

 .radio-group {
     display: flex;
     gap: 2rem;
     flex-wrap: wrap;
 }

 .radio-option {
     display: flex;
     align-items: center;
     gap: 0.5rem;
 }

 .topic-input-group {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 2rem;
     margin-bottom: 1rem;
 }

 .topic-item {
     display: flex;
     align-items: center;
     gap: 0.75rem;
 }

 .topic-number {
     background: #0f5757;
     color: white;
     width: 32px;
     height: 32px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-weight: 600;
     flex-shrink: 0;
 }

 .topic-item input {
     flex: 1;
 }

 .section-divider {
     margin: 2rem 0;
     border-top: 2px solid #e0e0e0;
 }

 .subsection-title {
     font-weight: 600;
     color: #0f5757;
     margin-bottom: 1rem;
     font-size: 1.1rem;
 }

 .btn-submit {
     background: #0f5757;
     color: white;
     border: none;
     padding: 0.75rem 2.5rem;
     border-radius: 5px;
     font-weight: 600;
     font-size: 1rem;
     transition: all 0.3s;
     float: right;
 }

 .btn-submit:hover {
     background: #0f5757;
     transform: translateY(-2px);
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
 }

 .error-message {
     color: #dc3545;
     font-size: 0.875rem;
     margin-top: 0.25rem;
     display: none;
 }

 .success-modal {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.5);
     z-index: 9999;
     align-items: center;
     justify-content: center;
 }

 .success-modal-content {
     background: white;
     padding: 2rem;
     border-radius: 8px;
     text-align: center;
     max-width: 400px;
     box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
 }

 .success-icon {
     color: #4caf50;
     font-size: 4rem;
     margin-bottom: 1rem;
 }


 @media (max-width: 768px) {
     .topic-input-group {
         grid-template-columns: 1fr;
     }

     .radio-group {
         flex-direction: column;
         gap: 1rem;
     }
 }

 .action-buttons {
     background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
     padding: 1rem;
     border-radius: 8px;
     margin: 1.5rem 0;
 }

 .action-buttons .btn {
     border-radius: 6px;
     padding: 0.5rem 1.25rem;
     font-weight: 500;
 }

 .station-tabs .nav-tabs {
     border-bottom: 3px solid #00695c;
 }

 .station-tabs .nav-link {
     background: #ffffff;
     border: 2px solid #00695c;
     color: #00695c;
     font-weight: 600;
     padding: 0.75rem 2rem;
     margin-right: 0.5rem;
     border-radius: 8px 8px 0 0;
     transition: all 0.3s;
 }

 .station-tabs .nav-link:hover {
     background: #e0f2f1;
 }

 .station-tabs .nav-link.active {
     background: #00695c;
     color: white;
     border-bottom: 3px solid #00695c;
 }

 .training-section {
     margin-top: 2rem;
 }

 .training-section h5 {
     color: #1a237e;
     font-weight: 700;
     font-size: 1.1rem;
     margin-bottom: 1rem;
 }

 .custom-table {
     background: white;
     border-radius: 8px;
     /* overflow: hidden; */
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
 }

 .custom-table thead {
     background: #00695c;
 }

 .custom-table thead th {
     color: black !important;
     font-weight: 600;
     padding: 1rem 0.75rem;
     font-size: 0.9rem;
     border: none;
 }

 .custom-table tbody td {
     padding: 0.875rem 0.75rem;
     vertical-align: middle;
     font-size: 0.9rem;
 }

 .custom-table tbody tr:hover {
     background-color: #f5f5f5;
 }

 .btn-apply {
     background: #00695c;
     color: white;
     border: none;
     padding: 0.4rem 1.25rem;
     border-radius: 5px;
     font-weight: 600;
     transition: all 0.3s;
 }

 .btn-apply:hover {
     background: #fff;
     transform: translateY(-2px);
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
     border:  1px solid #00695c;
     color: 00695c;
 }



 .calendar-section h4 {
     color: #1a237e;
     font-weight: 700;
     margin-bottom: 1.5rem;
 }

 .calendar-nav {
     background: #0f5757;
     padding: 1rem;
     border-radius: 8px;
     display: flex;
     justify-content: center;
     align-items: center;
     gap: 2rem;
     margin-bottom: 1rem;
 }

 .calendar-nav button {
     background: transparent;
     border: none;
     color: white;
     padding: 0.5rem 1rem;
     border-radius: 5px;
     cursor: pointer;
     transition: all 0.3s;
 }

 .calendar-nav button:hover {
     background: rgba(255, 255, 255, 0.3);
 }

 .calendar-nav h4 {
     color: white;
     margin: 0;
     min-width: 200px;
     text-align: center;
     font-size: 1.25rem;
 }

 .calendar-table {
     border: 2px solid #004d40;
 }

 .calendar-table thead th {
     background: #004d40;
     color: white;
     padding: 0.75rem;
     text-align: center;
     font-weight: 600;
 }

 .calendar-day {
     min-height: 100px;
     padding: 0.5rem;
     vertical-align: top;
     border: 1px solid #ddd;
 }

 .calendar-day strong {
     display: block;
     color: #333;
     font-size: 0.95rem;
     margin-bottom: 0.5rem;
 }

 .calendar-badge {
     font-size: 0.7rem;
     padding: 0.25rem 0.5rem;
     margin-bottom: 0.25rem;
     display: block;
     border-radius: 4px;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
 }

 .badge-sttc {
     background: #4caf50;
     color: white;
 }

 .badge-lttc {
     background: #ffc107;
     color: #333;
 }

 .badge-other {
     background: #2196f3;
     color: white;
 }


 .scroll-top {
     position: fixed;
     bottom: 2rem;
     right: 2rem;
     background: #0f5757;
     color: white;
     width: 50px;
     height: 50px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
     transition: all 0.3s;
 }

 .scroll-top:hover {
     background: #0f5757;
     transform: translateY(-5px);
 }

 .mainform select:focus {
     outline: unset;
     box-shadow: unset;
     border-color: #0f5757;
 }

 .btn-bg-color {
     background-color: #0f5757;
     color: #fff;
 }

 .decleration {
     background-color: #05ac9025;
 }

 .action-buttons {
     background: #00695d27;
     padding: 1rem;
     border-radius: 8px;
     margin: 1.5rem 0;
 }

 .action-buttons .btn {
     border-radius: 6px;
     padding: 0.5rem 1.25rem;
     font-weight: bold;
     background-color: #fff;
     color: #004d40;
     box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
     border: .1px solid #004d40;

 }

 .station-tabs .nav-tabs {
     border-bottom: 3px solid #0f5757;
 }

 .station-tabs .nav-link {
     background: #ffffff;
     border: 2px solid #0f5757;
     color: #0f5757;
     font-weight: 600;
     padding: 0.75rem 2rem;
     margin-right: 0.5rem;
     border-radius: 8px;
     transition: all 0.3s;
     margin-bottom: .5rem;
 }

 .station-tabs .nav-link:hover {
     background: #e0f2f1;
 }

 .station-tabs .nav-link.active {
     background: #0f5757;
     color: white;
 }

 .training-section {
     margin-top: 2rem;
 }

 .training-section h5 {
     color: #000;
     font-weight: 700;
     font-size: 1.1rem;
     margin-bottom: 1rem;
 }

 .custom-table {
     background: white;
     border-radius: 8px;
     /* overflow: hidden; */
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
 }

 .custom-table thead {
     background: #0f5757;
 }

 .custom-table thead th {
     color: #fff !important;
     font-weight: 600;
     padding: 1rem 0.75rem;
     font-size: 0.9rem;
     border: none;
     background-color: #0f5757;
 }

 .custom-table tbody td {
     padding: 0.875rem 0.75rem;
     vertical-align: middle;
     font-size: 0.9rem;
 }

 .custom-table tbody tr:hover {
     background-color: #f5f5f5;
 }

 .btn-apply {
     background: #0f5757;
     color: white;
     border: none;
     padding: 0.4rem 1.25rem;
     border-radius: 5px;
     font-weight: 600;
     transition: all 0.3s;
 }

 /* .btn-apply:hover {
     background: #004d40;
     transform: translateY(-2px);
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
     
 } */

 .calendar-section {
     margin-top: 2.5rem;
     background: white;
     padding: 1.5rem;
     border-radius: 8px;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
 }

 .calendar-section h4 {
     color: #000;
     font-weight: 700;
     margin-bottom: .5rem;
 }

 .calendar-nav {
     padding: 1rem;
     border-radius: 8px;
     display: flex;
     justify-content: center;
     align-items: center;
     gap: .5rem;
     margin-bottom: 1rem;
 }

 .calendar-nav button i {
     /* background-color: #004d40; */
     color: #fff;
     padding: 4px;
     border-radius: 50%;
 }

 .calendar-nav button:hover {
     background: rgba(255, 255, 255, 0.3);
 }

 .calendar-nav h4 {
     color: #fff;
     margin: 0;
     min-width: 100px;
     text-align: center;
     font-size: 1.25rem;
 }

 .calendar-table {
     border: 2px solid #0f5757;
 }

 .calendar-table thead th {
     background: #0f5757;
     color: white;
     padding: 0.75rem;
     text-align: center;
     font-weight: 600;
 }

 .calendar-day {
     min-height: 100px;
     padding: 0.5rem;
     vertical-align: top;
     border: 1px solid #ddd;
 }

 .calendar-day strong {
     display: block;
     color: #333;
     font-size: 0.95rem;
     margin-bottom: 0.5rem;
 }

 .calendar-badge {
     font-size: 0.7rem;
     padding: 0.25rem 0.5rem;
     margin-bottom: 0.25rem;
     display: block;
     border-radius: 4px;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
 }

 .badge-sttc {
     background: #4caf50;
     color: white;
 }

 .badge-lttc {
     background: #ffc107;
     color: #333;
 }

 .badge-other {
     background: #2196f3;
     color: white;
 }


 .scroll-top {
     position: fixed;
     bottom: 2rem;
     right: 2rem;
     background: #0f5757;
     color: white;
     width: 50px;
     height: 50px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
     transition: all 0.3s;
 }

 .scroll-top:hover {
     background: #004d40;
     transform: translateY(-5px);
 }

 .borderhide {
     border: none;
     box-shadow: none;
 }
 .user-header-content img{
    max-width: 450px;
 }
 .emblem-size{
    max-height: 108px;
 }
