body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-header {
    width: 100%;
}

.top-bar {
    background-color: #c8e6c9;
    color: #333;
    padding: 8px 5%;
    text-align: right;
    font-size: 0.85em;
}

select {
    width: 100%;
    padding: 12px;
    margin-bottom: 25px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    font-size: 1em;
    font-family: inherit;
    box-sizing: border-box;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

select:hover {
    border-color: #007bff;
}

select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
    outline: none;
}

select option {
    padding: 10px;
    font-size: 1em;
}

.main-nav {
    background-color: #798d72;
    color: white;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 2.5em;
    font-weight: bold;
    color: white;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-weight: bold;
}

.checkout-main-content {
    flex-grow: 1;
    padding: 40px 20px;
}

.checkout-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    color: #333;
    border-bottom: 3px solid #007bff;
    padding-bottom: 15px;
    margin-bottom: 40px;
    font-size: 2em;
}

h3 {
    color: #1a1a1a;
    margin-top: 35px;
    margin-bottom: 10px;
    font-size: 1.4em;
    font-weight: 700;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 0.95em;
    padding-top: 15px;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
    outline: none;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
    align-items: flex-start;
}

.form-row>div {
    flex: 1;
}

.btn-submit {
    background-color: #28aa45;
    color: white;
    padding: 18px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 1.3em;
    font-weight: bold;
    margin-top: 40px;
    box-shadow: 0 4px 8px rgba(40, 170, 69, 0.3);
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.btn-submit:hover {
    background-color: #218838;
    transform: translateY(-1px);
}

.security-note {
    text-align: center;
    font-size: 0.9em;
    margin-top: 25px;
    color: #666;
    line-height: 1.5;
    padding: 10px;
    border-top: 1px dashed #ddd;
}

.main-footer {
    background-color: #5d7056;
    color: white;
    padding: 40px 5%;
    width: 100%;
    box-sizing: border-box;
}

.footer-content-wrapper {
    display: flex;
    justify-content: space-between;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 1200px;
    margin: 0 auto;
}

.logo-footer {
    font-size: 1.5em;
    font-weight: bold;
}

.copyright {
    text-align: center;
    font-size: 0.8em;
    padding-top: 20px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.left-side,
.right-side {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.08);
}

.left-side h3,
.right-side h3 {
    margin-top: 20px;
    font-size: 20px;
}

@media (max-width: 600px) {
    .main-nav {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .checkout-container {
        padding: 25px 20px;
    }

    h2 {
        font-size: 1.6em;
    }

    .btn-submit {
        font-size: 1.1em;
        padding: 14px;
    }

    .top-bar {
        text-align: center;
    }
}

@media (max-width: 850px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}