/* Layout Structure */
.solicitarea {
    margin-top: 20px;
    margin-bottom: 100px;
}

.solicitarea .wrapper {
    max-width: 1204px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}

.solicitarea-flex-block {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

/* Column Sizing */
.el-table-container,
.el-form-container {
    box-sizing: border-box;
    word-wrap: break-word;
    margin-left: 15px;
    margin-right: 15px;
    width: calc(50% - 30px);
}

/* Left Column: Credit Summary */
.credit-summary-box {
    background-color: #fff;
    color: #383D42;
    font-size: 16px;
    line-height: 1.5;
}

.summary-row {
    margin-bottom: 12px;
}

.payment-row {
    display: block;
}

.summary-note {
    font-size: 13px;
    color: rgba(56, 61, 66, 0.7);
    margin-bottom: 5px;
    line-height: 1.4;
}

/* Buttons (Unified Style) */
.action-button {
    display: inline-block;
    background-color: #15B2E4;
    color: white;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid #15B2E4;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    text-align: center;
    padding: 8px 15px;
}

.action-button:hover {
    background-color: #0d8cc2;
}

/* Specific tweaks for Schedule Button */
.schedule-button {
    margin-top: 10px;
}

/* Specific tweaks for Form Submit Button */
.btn-submit {
    width: 100%;
    height: 50px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

/* Info "i" Button */
.info-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    border: 2px solid white;
    background-color: #15B2E4;
    color: white;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.info-button:hover {
    background-color: #0d8cc2;
}

/* Right Column: Form Styling */
.form-box {
    padding: 12px 15px;
    border: 2px solid #15B2E4;
    box-sizing: border-box;
}

.form-box input:not([type='checkbox']) {
    width: 100%;
    height: 50px;
    background: #E6E6E6;
    border: none;
    margin-bottom: 10px;
    padding-left: 15px;
    box-sizing: border-box;
}

.form-box input::placeholder {
    color: rgba(56, 61, 66, 0.5);
}

.form-grid label {
    color: #383D42;
    font-weight: bold;
    font-size: small;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border: 2px solid #15B2E4;
}

/* Checkbox & Legal Text */
.agreements-section {
    margin-top: 15px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 12px;
    color: rgba(56, 61, 66, 0.7);
}

.checkbox-container input {
    margin-top: 3px;
    margin-right: 10px;
}

.checkbox-container p {
    margin: 0;
    text-align: justify;
}

/* Validation Styles */
.has-error input {
    border: 1px solid red;
}

.error-text {
    color: red;
    font-size: 12px;
    display: block;
    margin-top: -8px;
    margin-bottom: 10px;
}

.status-msg {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}

.status-msg.success {
    color: green;
}

.status-msg.error {
    color: red;
}

/* Loader */
.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: none;
    margin-left: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Table Styles (IKSWEB) */
table.iksweb td,
table.iksweb th {
    border: 0px solid #fff !important;
}

table.iksweb {
    text-decoration: none;
    border-collapse: collapse;
    width: 100%;
    text-align: center;
}

table.iksweb th {
    font-weight: normal;
    font-size: 14px;
    color: #ffffff;
    background: #15B2E4;
}

table.iksweb td {
    font-size: 13px;
    color: #354251;
}

table.iksweb td,
table.iksweb th {
    white-space: pre-wrap;
    padding: 10px 5px;
    line-height: 13px;
    vertical-align: middle;
    border: 1px solid #354251;
}

table.iksweb tr:hover {
    background-color: #f9fafb
}

table.iksweb tr:hover td {
    color: #354251;
    cursor: default;
}

table.iksweb tr:nth-child(2n +1) {
    background: rgba(196, 196, 196, 0.39);
}

table.iksweb td:last-child,
table.iksweb td:first-child {
    font-weight: bold;
    color: rgba(0, 0, 0, 0.7);
}

.table-container {
    overflow-x: auto;
}

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

.modal-content {
    background: white;
    padding: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80%;
    position: relative;
    text-align: center;
    overflow-y: auto;
}

.schedule-content {
    max-width: 900px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: #15B2E4;
    background: none;
    border: none;
    cursor: pointer;
}

@media screen and (max-width: 940px) {

    .el-table-container,
    .el-form-container {
        width: 100%;
        margin-bottom: 30px;
    }

    .form-box {
        margin-top: 0;
    }

    .wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.form-box select {
    width: 100%;
    height: 50px;
    background: #E6E6E6;
    border: none;
    margin-bottom: 10px;
    padding-left: 15px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
    color: #383D42;
    appearance: auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 15px;
}

.full-width {
    grid-column: 1 / -1;
}

.section-title {
    color: #15B2E4;
    margin-top: 25px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 5px;
}

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