.card {
    max-width: 650px;
    margin: 40px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(19, 93, 102, 0.15);
    border: 1px solid rgba(19, 93, 102, 0.1);
}

.card h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #135D66;
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: -0.02em;
}
 
 .alert {
     text-align: center;
     background: #f1f8e9;
     padding: 12px;
     margin-bottom: 20px;
     border-left: 4px solid #689f38;
     color: #33691e;
     font-size: 14px;
 }
 .sec-name{
    color: #66969c; 
    display: block;
    /* margin-bottom: 7px; */
 }
 .section-title {
     font-weight: 600;
     margin: 20px 0 10px;
     color: #444;
 }
 
 .form-group {
     position: relative;
     margin-bottom: 25px;
 }
 
 .form-group input,
 .form-group select,
 .form-group textarea {
     width: 100%;
     padding: 14px 12px 12px;
     font-size: 16px;
     border: 1px solid #ccc;
     border-radius: 10px;
     outline: none;
     transition: 0.3s ease;
 }
 
 .form-group select {
     appearance: none;
     -webkit-appearance: none;
     -moz-appearance: none;
     background-color: #fff !important;
     color: #000;
     background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
     background-repeat: no-repeat;
     background-position: right 10px center;
     background-size: 16px 16px;
     padding-right: 40px;
 }
 
 input:-webkit-autofill,
 input:-webkit-autofill:hover,
 input:-webkit-autofill:focus,
 textarea:-webkit-autofill,
 textarea:-webkit-autofill:hover,
 textarea:-webkit-autofill:focus,
 select:-webkit-autofill {
     background-color: #fff !important;
     box-shadow: 0 0 0 30px #fff inset !important;
     -webkit-text-fill-color: #000 !important;
     transition: background-color 5000s ease-in-out 0s;
 }
 
 .form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-group input.filled,
.form-group select.filled,
.form-group textarea.filled {
    border-color: #135D66;
    background-color: white !important;
    box-shadow: 0 0 0 4px rgba(19, 93, 102, 0.1);
}

.form-group label {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 15px;
    color: #64748b;
    background: transparent;
    padding: 0 6px;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select.filled + label,
.form-group input.filled + label {
    top: -12px;
    left: 10px;
    font-size: 12px;
    color: #135D66;
    font-weight: 700;
    background: #fff;
}
 
 .input-error {
     border: 1px solid #f44336 !important;
     border-bottom: 3px solid #f44336 !important;
     background-color: #fff;
     outline: none;
 }
 
 .form-flex {
     display: flex;
     gap: 20px;
     flex-wrap: wrap;
 }
 
 .form-flex .form-group {
     flex: 1;
     min-width: 45%;
 }
 @media (max-width: 600px) {
    .card {
        padding: 24px 16px;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        border: none;
    }

    .card h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .form-flex .form-group {
        min-width: 100%;
    }

    .btn {
        padding: 16px;
        font-size: 15px;
    }

    #mainPageStage {
        padding: 0 !important;
        background: #fff;
    }
}
 
 #preview-container {
     width: 120px;
     height: 145px;
     margin: 0 auto 15px;
     border: 2px dashed #ccc;
     border-radius: 8px;
     overflow: hidden;
     display: flex;
     align-items: center;
     justify-content: center;
     position: relative;
     cursor: pointer;
 }
 
 #nmImagePreview,
 #nmPreviewPlaceholder {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
 }
 
 .loader {
     display: none;
     border: 4px solid #f3f3f3;
     border-top: 4px solid #00796b;
     border-radius: 50%;
     width: 30px;
     height: 30px;
     animation: spin 1s linear infinite;
     position: absolute;
 }
 
 .nm-loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(19, 93, 102, 0.9);
    backdrop-filter: blur(15px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 24px;
    animation: overlayFadeIn 0.4s ease;
}

.nm-loading-spinner-container {
    position: relative;
    width: 80px;
    height: 80px;
}

.nm-loading-spinner {
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: premiumSpin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.nm-loading-spinner-inner {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-bottom: 4px solid #D4A017;
    border-radius: 50%;
    animation: premiumSpinReverse 1.5s linear infinite;
}

.nm-loading-text {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes overlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes premiumSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes premiumSpinReverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes textPulse {
    0%, 100% { opacity: 0.6; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1); }
}
 
 .nm-popup {
     display: none;
     position: fixed;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     background: #fff;
     padding: 20px;
     border-radius: 8px;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
     z-index: 1001;
     max-width: 400px;
     width: 90%;
     text-align: center;
 }
 
 .nm-popup h3 {
     color: #f44336;
     margin-bottom: 15px;
 }
 
 .nm-popup p {
     color: #333;
     margin-bottom: 15px;
     font-size: 14px;
 }
 
 .nm-popup ul {
     list-style: none;
     padding: 0;
     margin-bottom: 20px;
 }
 
 .nm-popup ul li {
     margin: 10px 0;
 }
 
 .nm-popup ul li a {
     color: #00796b;
     text-decoration: none;
     font-weight: 600;
 }
 
 .nm-popup ul li a:hover {
     text-decoration: underline;
 }
 
 .nm-popup button {
     background: #00796b;
     color: #fff;
     border: none;
     padding: 10px 20px;
     border-radius: 8px;
     cursor: pointer;
     font-size: 14px;
     transition: background 0.3s ease;
 }
 
 .nm-popup button:hover {
     background: #009688;
 }
 
 .nm-crop-modal {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.6);
     z-index: 1002;
     justify-content: center;
     align-items: center;
     animation: fadeIn 0.3s ease;
 }
 
 .nm-crop-container {
     background: linear-gradient(135deg, #ffffff, #f8f9fa);
     padding: 20px;
     border-radius: 12px;
     max-width: 500px;
     width: 90%;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
     transform: scale(0.9);
     animation: scaleUp 0.3s ease forwards;
 }
 
 .nm-crop-title {
     margin: 0 0 15px;
     font-size: 16px;
     font-weight: 600;
     line-height: 1.5;
     color: #00796b;
     text-align: center;
     text-transform: uppercase;
     transition: color 0.3s ease;
 }
 
 .nm-crop-image-wrapper {
     max-height: 400px;
     overflow: hidden;
     border-radius: 8px;
     background: #fff;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
 }
 
 .nm-crop-image-wrapper img {
     max-width: 100%;
     height: auto;
     display: block;
 }
 
 .nm-crop-buttons {
     margin-top: 15px;
     display: flex;
     justify-content: center;
     gap: 10px;
 }
 
 .nm-crop-buttons button {
     padding: 10px 20px;
     border: none;
     border-radius: 25px;
     cursor: pointer;
     font-size: 14px;
     font-weight: 500;
     transition: all 0.3s ease;
 }
 
 .nm-crop-buttons button:first-child {
     background: #00796b;
     color: #fff;
 }
 
 .nm-crop-buttons button:first-child:hover {
     background: #009688;
     transform: translateY(-2px);
 }
 
 .nm-crop-buttons button:last-child {
     background: #e0e0e0;
     color: #333;
 }
 
 .nm-crop-buttons button:last-child:hover {
     background: #d0d0d0;
     transform: translateY(-2px);
 }
 
 @keyframes fadeIn {
     from { opacity: 0; }
     to { opacity: 1; }
 }
 
 @keyframes scaleUp {
     from { transform: scale(0.9); }
     to { transform: scale(1); }
 }
 
 @keyframes spin {
     0% { transform: rotate(0deg); }
     100% { transform: rotate(360deg); }
 }
 
 @keyframes pulse {
     0% { opacity: 1; }
     50% { opacity: 0.5; }
     100% { opacity: 1; }
 }
 
 /* Fix for the vertical stacking issue shown in screenshot */
.nm-progress-steps * {
    box-sizing: border-box;
}

.step-buttons {
     display: flex;
     justify-content: space-between;
     gap: 10px;
     margin-top: 20px;
 }
 
 .btn {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-next {
    background: linear-gradient(135deg, #135D66 0%, #1C3834 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(19, 93, 102, 0.3);
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(19, 93, 102, 0.4);
}

.btn-prev {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-prev:hover {
    background: #e2e8f0;
}

.btn-submit {
    background: linear-gradient(135deg, #135D66 0%, #1C3834 100%);
    color: #fff;
    width: 100%;
    font-size: 18px;
    padding: 16px;
    box-shadow: 0 10px 20px rgba(19, 93, 102, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(19, 93, 102, 0.4);
}
 
 .form-step {
     display: none;
 }
 
 .form-step.active {
     display: block;
 }
 
 .datepickr-container {
     z-index: 1050 !important;
 }
 
 .datepickr {
     border: 1px solid #ccc;
     border-radius: 8px;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
     background-color: #fff;
     font-size: 14px;
     color: #333;
 }
 
 .datepickr-calendar {
     width: auto;
     margin: 0;
 }
 
 .datepickr-day-name {
     color: #777;
     font-weight: normal;
 }
 
 .datepickr-day {
     padding: 0.5em;
     border-radius: 4px;
     cursor: pointer;
 }
 
 .datepickr-day:hover {
     background-color: #f0f0f0;
 }
 
 .datepickr-day.is-today {
     font-weight: bold;
     color: #00796b;
 }
 
 .datepickr-day.is-selected {
     background-color: #00796b;
     color: #fff;
 }
 
 .datepickr-controls a {
     color: #00796b;
     text-decoration: none;
     padding: 0.5em;
 }
 
 .datepickr-controls a:hover {
     text-decoration: underline;
 }


