.page-wrapper {
    max-width: 100%;
}

/* Header Styling */
.site-header {
    background: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}

.logo {
    color: var(--cash-red);
    font-weight: 900;
    font-size: 32px;
    font-family: 'Arial Black', sans-serif;
    letter-spacing: -1px;
}

.depot-btn {
    background-color: var(--cash-red);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    cursor: default; /* Just visual for the header */
}

/* Content Styling */
.content-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.main-title {
    font-family: Georgia, 'Times New Roman', Times, serif; /* Serif for headings */
    color: var(--text-blue-dark);
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.intro-text {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text-grey);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* Form Styling */
.cash-form {
    background: #fff;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 2px; /* Slight radius, mostly square */
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.form-row {
    display: flex;
    gap: 15px;
}

.input-group {
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
    color: var(--text-dark);
}

input[type="text"],
input[type="tel"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    background-color: var(--input-bg);
    box-sizing: border-box;
    border-radius: 3px;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--cash-red);
}

input.error {
    border-color: var(--cash-red);
    background-color: #fffafa;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.checkbox-group input {
    margin-top: 4px;
    margin-right: 10px;
}

.checkbox-group label {
    font-weight: normal;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    flex: 1;
}

/* Submit Button Custom Div */
.submit-div {
    background-color: #188493;
    color: #fff;
    padding: 14px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.submit-div:hover {
    background-color: #184d93;
}

/* Validation Errors */
.error-msg {
    color: var(--cash-red);
    font-size: 12px;
    margin-top: 5px;
    display: none;
    position: absolute;
    bottom: -25px;
}

.relative-error {
    position: static;
    width: 100%;
    margin-top: 5px;
    margin-left: 24px;
}

/* Loader */
.loader {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    display: none;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Popup Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
}

.modal-box {
    background: #fff;
    width: 90%;
    max-width: 400px;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}

.modal-header {
    background: #f7f7f7;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-family: Georgia, serif;
    color: var(--text-dark);
}

.close-x {
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.close-x:hover { color: var(--text-dark); }

.modal-body {
    padding: 30px;
    text-align: center;
}

.success-icon {
    font-size: 40px;
    color: #28a745;
    margin-bottom: 15px;
}

.modal-btn {
    width: auto;
    display: inline-flex;
    padding: 10px 30px;
    margin-top: 20px;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .main-title {
        font-size: 24px;
    }
}