body {
    font-family: 'Inter', sans-serif;
    /* @tweakable Site background color */
    background-color: #F9F5EE;
    color: #374151; /* Tailwind gray-700 */
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align to top for longer forms */
    min-height: 100vh;
    margin: 0;
    padding: 20px; /* Add padding for smaller screens */
    box-sizing: border-box;
}

.form-container {
    background-color: #FFFFFF;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 700px; /* Max width from images */
    margin-top: 20px;
    margin-bottom: 20px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1F2937; /* Tailwind gray-800 */
    margin-bottom: 8px;
}

.form-header p {
    font-size: 14px;
    color: #6B7280; /* Tailwind gray-500 */
    max-width: 80%;
    margin: 0 auto;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    margin-bottom: 40px;
    position: relative;
}

.progress-bar::before { 
    display: none; 
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 20%; 
    position: relative; 
    z-index: 2;
}

.progress-step .step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #E5E7EB; /* Tailwind gray-200 - inactive */
    color: #6B7280; /* Tailwind gray-500 - inactive text */
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    margin-bottom: 8px;
    border: 2px solid #E5E7EB; /* Default border for inactive */
    flex-shrink: 0; /* Prevent circle from shrinking */
}

.progress-step p {
    font-size: 12px;
    color: #6B7280; /* Tailwind gray-500 - inactive text */
    font-weight: 500;
    line-height: 1.3; /* Adjust for better spacing */
    margin-top: 4px;
}

.progress-step.active .step-circle,
.progress-step.completed .step-circle {
    background-color: #FCD34D; /* Tailwind amber-400 */
    color: #1F2937; /* Dark text for active circle */
    border-color: #FCD34D;
}

.progress-step.active p,
.progress-step.completed p {
    color: #1F2937; /* Darker text for active step label */
}

.form-step {
    display: none;
    animation: fadeIn 0.5s;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #374151; /* Tailwind gray-700 */
}
.form-group label i {
    margin-right: 8px;
    color: #9CA3AF; /* Tailwind gray-400 */
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"], 
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    /* @tweakable Default border color for form inputs */
    border: 1px solid #D1D5DB; /* Tailwind gray-300 */
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
    /* @tweakable Default background color for form inputs */
    background-color: #F9F5EE; 
}
.form-group input[type="text"]::placeholder,
.form-group input[type="email"]::placeholder,
.form-group input[type="password"]::placeholder,
.form-group textarea::placeholder {
    color: #9CA3AF; /* Tailwind gray-400 */
}

/* Specific styling for the description textarea */
.form-group textarea#description {
    /* Styles for background and border will be inherited from general .form-group textarea rule */
    /* and the new common :focus rule */
}

.form-group .error-message {
    color: #EF4444; /* Tailwind red-500 */
    font-size: 12px;
    margin-top: 5px;
}

.form-group small {
    font-size: 12px;
    color: #6B7280; /* Tailwind gray-500 */
    margin-top: 4px;
    display: block;
}

.form-group select:disabled {
    background-color: #F9FAFB;
    color: #9CA3AF;
    cursor: not-allowed;
    opacity: 0.7;
}

.otp-inputs {
    display: flex;
    justify-content: space-between;
    gap: 10px; 
    margin: 15px 0;
}

.otp-input { 
    width: 45px;
    height: 50px;
    text-align: center;
    font-size: 18px;
    /* @tweakable Default border color for OTP inputs */
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    /* @tweakable Default background color for OTP inputs */
    background-color: #F9F5EE;
}

.otp-input-mobile { 
    display: none; 
    width: 100%;
    padding: 12px;
    text-align: center;
    font-size: 18px;
    letter-spacing: 0.2em; 
    /* @tweakable Default border color for mobile OTP input */
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    /* @tweakable Default background color for mobile OTP input */
    background-color: #F9F5EE;
    margin: 15px 0;
}

.otp-desktop-helper, .otp-mobile-helper {
    display: block; 
}

.verification-info {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
}
.verification-info strong {
    color: #1F2937;
}

.resend-timer {
    font-size: 14px;
    color: #FCD34D; /* Tailwind amber-400 */
    margin-bottom: 20px;
    text-align: center;
}
.resend-timer a {
    color: #F59E0B; /* Tailwind amber-600 */
    text-decoration: underline;
}

.alert-info {
    background-color: #EFF6FF; /* Tailwind blue-50 */
    border: 1px solid #BFDBFE; /* Tailwind blue-200 */
    color: #1E40AF; /* Tailwind blue-800 */
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}
.alert-info p {
    margin: 0;
}
.alert-info strong {
    font-weight: 600;
}

.file-drop-area {
    border: 2px dashed #D1D5DB; /* Tailwind gray-300 */
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    background-color: #F9FAFB; /* Tailwind gray-50 */
    margin-bottom: 8px;
}
.file-drop-area.highlight-drop { 
    border-color: #FCD34D;
    background-color: #FEFCE8;
}

.file-drop-area:hover {
    border-color: #FCD34D; 
    background-color: #FEFCE8; 
}

.file-drop-area i.fa-upload {
    font-size: 30px;
    color: #FCD34D; 
    margin-bottom: 10px;
}

.file-drop-area p {
    font-size: 14px;
    color: #6B7280; 
    margin: 0;
}
#attachmentInput {
    display: none; 
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
.form-buttons .btn-primary { 
    margin-left: auto;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: #FCD34D; 
    color: #1F2937; 
}
.btn-primary:hover {
    background-color: #FBBF24; 
}

.btn-secondary {
    background-color: #FFFFFF;
    color: #374151; 
    border: 1px solid #D1D5DB; 
}
.btn-secondary:hover {
    background-color: #F3F4F6; 
}

.form-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 12px;
    color: #9CA3AF; /* Tailwind gray-400 */
}

#successView {
    text-align: center;
    animation: fadeIn 0.5s;
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.success-header {
    background-color: #F8F8F0;
    padding: 30px 20px;
    margin-bottom: 0;
}

.success-tick-image {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    background-color: #ECFDF5;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 170, 80, 0.15);
}

.success-header h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 10px;
}

.success-header p {
    font-size: 14px;
    color: #4B5563;
    margin-bottom: 20px;
}

.protocol-display {
    display: inline-flex;
    align-items: center;
    background-color: #FFFFFF;
    color: #374151;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #E5E7EB;
}

.protocol-display i {
    color: #9CA3AF;
    margin-right: 8px;
}

.summary-box {
    background-color: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    border-radius: 0;
    padding: 25px;
    margin-bottom: 0;
    text-align: left;
}

.summary-box h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #E5E7EB;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}
.summary-row:last-child {
    margin-bottom: 0;
}

.summary-col {
    flex-basis: 100%; /* Default to full width for mobile */
}

.summary-col p {
    font-size: 13px;
    color: #6B7280;
    margin-top: 0;
    margin-bottom: 4px;
}

.summary-col span {
    font-size: 14px;
    color: #1F2937;
    display: block;
}

.request-type-indicator {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.request-type-dot {
    width: 10px;
    height: 10px;
    background-color: #FCD34D;
    border-radius: 50%;
    margin-right: 8px;
}

.request-detail-indent {
    margin-left: 18px;
    margin-top: 4px;
    display: flex;
    align-items: center;
}

.request-detail-arrow {
    color: #9CA3AF;
    margin-right: 8px;
}

.feedback-box {
    background-color: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    border-radius: 0;
    padding: 25px;
    margin-bottom: 0;
    text-align: left;
}

.feedback-box .form-group {
    margin-bottom: 15px;
}

.feedback-box #submitFeedbackBtn {
    width: 100%;
    justify-content: center;
    font-size: 14px;
}

.star-rating {
    display: flex;
    justify-content: center; /* Center stars as per image */
    gap: 5px;
    margin-bottom: 20px;
}

.star-rating i {
    font-size: 28px; /* Larger stars */
    color: #D1D5DB; /* Tailwind gray-300 for empty stars */
    cursor: pointer;
    transition: color 0.2s ease;
}

.star-rating i:hover,
.star-rating i.fas { /* Filled star */
    color: #FCD34D; /* Tailwind amber-400 */
}

.final-actions {
    text-align: center;
    padding: 25px;
    background-color: #FFFFFF;
}

.final-actions .btn-primary {
    background-color: #FCD34D;
    color: #1F2937;
    font-weight: 500;
    padding: 10px 20px;
    transition: background-color 0.2s;
}

.final-actions .btn-primary:hover {
    background-color: #FBBF24;
}

.description-display {
    background-color: #F3F4F6; 
    padding: 8px 12px;
    border-radius: 4px;
    white-space: pre-wrap;
    text-align: left;
    margin-top: 5px;
    font-size: 14px;
    color: #374151;
    vertical-align: top;
    display: block;
}

.attachment-display {
    display: flex;
    align-items: center;
    background-color: #F9FAFB;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 5px;
}

.attachment-display i {
    color: #9CA3AF;
    margin-right: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.other-field {
    width: 100%;
    padding: 12px;
    /* @tweakable Default border color for 'other' text field */
    border: 1px solid #D1D5DB; /* Tailwind gray-300 */
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
    /* @tweakable Default background color for 'other' text field */
    background-color: #F9F5EE; /* Tailwind gray-50 */
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Common focus style for text inputs */
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group textarea:focus,
.otp-input:focus,
.otp-input-mobile:focus,
.other-field:focus {
    /* @tweakable Focus border color for text inputs */
    border-color: #FCD34D; /* Yellow border on focus */
    outline: none; /* Remove default browser outline */
    /* @tweakable Focus box shadow for text inputs */
    box-shadow: 0 0 0 2px rgba(252, 211, 77, 0.3); /* Subtle yellow glow */
}

@media (min-width: 600px) { /* Adjust breakpoint as needed */
    .summary-col {
       flex-basis: 48%; /* Two columns on wider screens */
    }
    .summary-row.full-width-row .summary-col {
        flex-basis: 100%; /* Full width for designated rows */
    }
}

@media (max-width: 768px) {
    .form-container {
        padding: 20px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .form-header h1 {
        font-size: 20px;
    }
    .form-header p {
        font-size: 13px;
        max-width: 100%;
    }

    .progress-bar {
        
    }
    
    .progress-step {
        flex-direction: column; 
    }

    .progress-step p {
        font-size: 10px; 
        line-height: 1.2;
        word-break: break-word; 
        margin-top: 4px; 
    }
    .progress-step .step-circle {
        width: 25px;
        height: 25px;
        font-size: 12px;
        margin-bottom: 0; 
    }

    .otp-inputs { 
        display: none !important; 
    }
    .otp-input-mobile { 
        display: block !important;
    }
    .otp-desktop-helper { display: none !important; }
    .otp-mobile-helper { display: block !important; }

    .form-buttons {
        flex-direction: column-reverse; 
        gap: 10px;
    }
    .form-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    .form-buttons .btn-primary {
        margin-left: 0; 
    }

    .success-header h2 {
        font-size: 20px;
    }
    .summary-box, .feedback-box {
        padding: 15px;
    }
    .summary-box h4, .feedback-box h4 {
        font-size: 16px;
    }
    .star-rating i {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
     .progress-bar {
        
    }
   

    .form-header h1 {
        font-size: 18px;
    }
    .form-header p {
        font-size: 12px;
    }

    .file-drop-area {
        padding: 20px;
    }
    .file-drop-area p {
        font-size: 13px;
    }

    .otp-input { 
        width: 38px;
        height: 42px;
        font-size: 16px;
    }

    .summary-col {
        margin-bottom: 10px; /* Add some space between stacked cols */
    }
    .summary-row .summary-col:last-child {
        margin-bottom: 0;
    }
    .summary-col p {
        font-size: 12px;
    }
    .summary-col span {
        font-size: 13px;
    }
}