/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #214517;
    color: #333;
    line-height: 1.6;
}

main {
    flex: 1;
}

/* Header Styles */
header {
    background-color: #021d0f;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
}

/* Main Content Styles */
main {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background-color: #cfeed8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Form Styles */
form {
    margin-top: 20px;
}

form .form-group {
    margin-bottom: 20px;
}

form .form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

form .form-group input,
form .form-group textarea,
form .form-group select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

form .form-group input:focus,
form .form-group textarea:focus,
form .form-group select:focus {
    border-color: #333;
    outline: none;
}

form button {
    display: inline-block;
    background-color: #3ab483;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #2ac19a;
}

/* Generic Button Styles */
.cart .btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

/* Remove Button */
.cart .btn.remove {
    background-color: #e74c3c;
}

.cart .btn.remove:hover {
    background-color: #c0392b;
}

/* Proceed to Checkout Button */
.cart .btn.checkout {
    background-color: #28a745;
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 18px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: none;
}

.cart .btn.checkout:hover {
    background-color: #218838;
    transform: translateY(-3px);
}

/* Empty Cart Message */
.cart .empty {
    font-size: 18px;
    color: #888;
    margin: 30px 0;
}

/* If you specifically want to style links inside .btn */
.cart .btn a {
    color: inherit;
    text-decoration: none;
}



/* Total Section */
.total-section {
    font-size: 18px;
    font-weight: bold;
    color: #555;
    margin-bottom: 20px;
    text-align: right;
}

/* Footer Styles */
footer {
    background-color: #85ac75;
    color: #021d0f;;
    text-align: center;
    padding: 10px 20px;
    margin-top: auto;
}

/* Responsive Styles */
@media (max-width: 768px) {
    main {
        padding: 15px;
    }

    form .form-group input,
    form .form-group textarea,
    form .form-group select {
        font-size: 14px;
    }

    form button {
        color: #021d0f;
        font-size: 14px;
        padding: 8px 15px;
    }

    .total-section {
        font-size: 16px;
    }
}