* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: white;
    color: #000;
    line-height: 1.5;
    padding: 20px;
}

.flyer {
    max-width: 850px;
    margin: 0 auto;
    padding: 30px;
    background: white;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
}

header h1 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #000;
    font-family: Arial, sans-serif;
}

header p {
    font-size: 13px;
    margin: 0;
    color: #000;
}

header a {
    color: #0066cc;
    text-decoration: underline;
}

header a:hover {
    color: #0052a3;
}

/* Hero Section */
.hero-section {
    margin-bottom: 25px;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
    text-align: left;
}

.hero-text p {
    font-size: 13px;
    line-height: 1.6;
    color: #000;
    text-align: left;
}

.hero-text strong {
    font-weight: bold;
}

.hero-img {
    width: 180px;
    flex-shrink: 0;
    margin-top: -10px;
}

.doctor-image {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
}

/* Sections */
section {
    margin-bottom: 20px;
}

section h2 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
    text-align: left;
}

section p {
    font-size: 13px;
    line-height: 1.6;
    color: #000;
    margin-bottom: 8px;
}

section ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
}

section li {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 5px;
    color: #000;
}

section li strong {
    font-weight: bold;
}

/* Why Choose Section */
.why-choose {
    margin-bottom: 20px;
}

/* Benefits Section */
.benefits {
    margin-bottom: 20px;
}

/* Product Boxes */
.product-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 20px 0;
    gap: 20px;
}

.product-info {
    flex: 1;
}

.product-info h3 {
    color: #000;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 12px;
    line-height: 1.4;
    text-align: left;
}

.dosage-schedule {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dosage-schedule li {
    font-size: 11px;
    padding: 2px 0;
    color: #000;
    display: block;
    text-align: left;
}

.dosage-value {
    float: right;
    text-align: right;
    white-space: nowrap;
    margin-left: 10px;
}

/* Price Box */
.price-box {
    width: 200px;
    flex-shrink: 0;
    text-align: center;
    background: white;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.pen-label {
    font-size: 11px;
    color: #000;
    margin-bottom: 8px;
    font-weight: normal;
}

.pen-image-container {
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pen-image {
    max-width: 80px;
    height: auto;
}

.pricing-label {
    font-size: 11px;
    font-weight: bold;
    color: #000;
    margin: 10px 0 5px 0;
}

.price {
    font-size: 32px;
    font-weight: bold;
    color: #000;
    margin: 0;
}

/* Order Section */
.order-section {
    margin-top: 30px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.order-info {
    flex: 1;
}

.order-info h2 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #000;
}

.contact-details {
    font-size: 12px;
    line-height: 1.8;
    color: #000;
}

.contact-details a {
    color: #0066cc;
    text-decoration: underline;
}

.order-form {
    flex: 1;
}

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

.form-group.full-width {
    width: 100%;
}

.form-group.inline-group {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.form-field {
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: normal;
    color: #000;
    margin-bottom: 4px;
}

.order-form input[type="text"],
.order-form input[type="email"],
.order-form input[type="tel"],
.order-form input[type="date"] {
    width: 100%;
    padding: 4px 0;
    border: none;
    border-bottom: 1px solid #000;
    background: transparent;
    font-size: 12px;
    font-family: Arial, sans-serif;
    color: #000;
    outline: none;
}

.order-form input[type="text"]:focus,
.order-form input[type="email"]:focus,
.order-form input[type="tel"]:focus,
.order-form input[type="date"]:focus {
    border-bottom-color: #0066cc;
    border-bottom-width: 2px;
}

.order-form input[type="text"].error,
.order-form input[type="email"].error,
.order-form input[type="tel"].error,
.order-form input[type="date"].error {
    border-bottom-color: #cc0000;
}

/* Shipping Options */
.shipping-options {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #000;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: #000;
}

.checkbox-label span {
    user-select: none;
}

/* Signature Pad */
.signature-field {
    flex: 1;
}

.signature-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#signatureCanvas {
    border: 1px solid #000;
    border-radius: 4px;
    cursor: crosshair;
    background: white;
    touch-action: none;
}

#signatureCanvas:active {
    cursor: crosshair;
}

.clear-signature-btn {
    padding: 6px 12px;
    background: #666;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    align-self: flex-start;
    transition: background 0.2s;
}

.clear-signature-btn:hover {
    background: #555;
}

.clear-signature-btn:active {
    background: #444;
}

/* Submit Button */
.submit-btn {
    margin-top: 20px;
    padding: 10px 30px;
    background: #000;
    color: white;
    border: none;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    font-family: Arial, sans-serif;
    transition: background 0.2s;
}

.submit-btn:hover {
    background: #333;
}

.submit-btn:active {
    background: #000;
}

.submit-btn:disabled {
    background: #666;
    cursor: not-allowed;
}

/* Success Message */
.success-message {
    margin-top: 15px;
    padding: 12px;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    font-size: 13px;
    text-align: center;
    font-weight: bold;
}

.error-message {
    margin-top: 15px;
    padding: 12px;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    font-size: 13px;
    text-align: center;
}

.field-error {
    color: #cc0000;
    font-size: 11px;
    margin-top: 3px;
}

/* Footer */
footer {
    text-align: center;
    padding-top: 20px;
    margin-top: 25px;
    border-top: 1px solid #ccc;
}

footer p {
    font-size: 10px;
    color: #000;
    margin: 0;
}

footer a {
    color: #0066cc;
    text-decoration: underline;
}



/* Print styles */
@media print {
    body {
        background: white;
        padding: 0;
    }
    
    .flyer {
        box-shadow: none;
        padding: 20px;
    }
    
    .submit-btn {
        display: none;
    }
    
    .success-message,
    .error-message {
        display: none;
    }
}
