/*
Theme Name: Canada Visa Application Theme
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: A theme for managing Canada Agriculture Visa applications, with all content managed via the dashboard.
Version: 1.1
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: canadavisa
*/

/* --------------------
    1. Global Reset & Typography
-------------------- */
body,
button,
input,
select,
textarea {
    font-family: 'Noto Sans Bengali', sans-serif;
}

body {
    background-color: #f0f4f7;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

/* --------------------
    2. Header Section
-------------------- */
.header {
    background-color: #004d40; /* Deep Green */
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.header h1 {
    margin: 0;
    font-size: 2.5em;
}

.header p {
    font-size: 1.2em;
    margin-top: 10px;
}

/* --------------------
    3. Main Content & Layout
-------------------- */
.main-content {
    padding: 40px 20px;
    max-width: 900px;
    margin: 20px auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.status-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}
.status-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.status-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


.info-section {
    margin-bottom: 40px;
}

.info-section h2 {
    color: #004d40;
    border-bottom: 2px solid #004d40;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.info-section h3 {
    color: #004d40;
    margin-top: 20px;
}

.info-section ul {
    list-style-type: none;
    padding-left: 0;
}

.info-section li {
    margin-bottom: 8px;
    padding-left: 1.5em;
    text-indent: -1.5em;
}

.info-section li::before {
    content: "➡️";
    margin-right: 0.5em;
    color: #00796b;
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    text-align: center;
    margin-top: 20px;
    background-color: #e0f2f1;
    padding: 20px;
    border-radius: 8px;
    gap: 15px;
}

.job-details div {
    flex: 1 1 30%;
    min-width: 150px;
}

.job-details p {
    margin: 0;
    font-size: 1.1em;
    font-weight: bold;
    color: #004d40;
}

/* --------------------
    4. Form Styling
-------------------- */
.form-container {
    border-top: 2px dashed #ccc;
    padding-top: 40px;
}

.form-container h2 {
    text-align: center;
    color: #004d40;
    margin-bottom: 20px;
}

fieldset {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

legend {
    font-weight: bold;
    color: #004d40;
    padding: 0 10px;
    font-size: 1.2em;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

input:not([type="checkbox"]),
select,
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

input[type="checkbox"] {
    margin-right: 10px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.form-column {
    flex: 1;
}

/* --------------------
    5. Buttons
-------------------- */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #00796b;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #004d40;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #128C7E;
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    fill: white;
}

/* --------------------
    6. Payment Section
-------------------- */
.payment-section {
    text-align: center;
    margin-top: 40px;
    padding: 25px;
    background-color: #fff3e0;
    border: 1px solid #ffcc80;
    border-radius: 8px;
}

.payment-section h3 {
    color: #E2126E;
}

.fee-amount {
    font-size: 1.8em;
    font-weight: bold;
    color: #E2126E;
    margin: 10px 0;
}

.bkash-number-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    padding: 10px;
    border: 2px dashed #E2126E;
    border-radius: 8px;
    cursor: pointer;
}

.bkash-number {
    font-size: 1.5em;
    font-weight: bold;
    color: #E2126E;
}

.copy-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.copy-icon {
    width: 20px;
    height: 20px;
    fill: #E2126E; /* Sets the color of the SVG icon */
}

.bkash-number-container:active {
    transform: scale(0.98);
}

.copy-message {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    height: 20px;
}

/* --------------------
    7. Media Queries (Responsiveness)
-------------------- */
@media (max-width: 600px) {
    .header h1 {
        font-size: 2em;
    }
    .header p {
        font-size: 1em;
    }
    .main-content {
        padding: 20px 15px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .job-details {
        flex-direction: column;
    }
    .job-details div {
        padding: 10px 0;
        border-bottom: 1px dashed #004d4030;
    }
    .job-details div:last-child {
        border-bottom: none;
    }
    .bkash-number {
        font-size: 1.2em;
    }
    .fee-amount {
        font-size: 1.5em;
    }
}