/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 20 Jul, 2025, 7:43:16 PM
    Author     : aditya.k
*/

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

.modal {
    background: white;
    border-radius: 8px;
    padding: 30px;
    max-width: 700px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}


#successModal .modal {
    max-width: 400px;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.modal-header {
    margin-bottom: 20px;
}

.steps-indicator {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.steps-indicator .step {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: #555;
    transition: background-color 0.3s;
}

.steps-indicator .step.active,
.steps-indicator .step.completed {
    background: #205e4e;
    color: white;
}

.step-content {
    display: none;
    margin-bottom: 20px;
}

.step-content[data-step="1"] {
    display: block;
}

.modal-form h4 {
    margin-bottom: 15px;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 15px;
    box-sizing: border-box;
    resize: vertical;
}

.modal-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 15px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.modal-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.modal-actions .left-buttons {
    display: flex;
    gap: 10px;
}

.modal-actions button {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    background-color: #f1f1f1;
    color: #333;
    transition: background-color 0.2s ease;
}

.modal-actions button:hover {
    background-color: #e0e0e0;
}

.modal-actions .next-btn,
.modal-actions #submitBtn {
    background-color: #205e4e;
    color: white;
}

.modal-actions .next-btn:hover,
.modal-actions #submitBtn:hover {
    background-color: #184236;
}

/* Step 4 specific */
.step-content[data-step="4"] label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.step-content[data-step="4"] input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
}


