body {
    font-family: \'Segoe UI\', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

.email-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header {
    padding: 10px 30px;
    text-align: center;
    max-width:150px;
    margin-left:auto;
    margin-right:auto;
}

.header h1 {
    margin: 20px 0 0 0;
    font-size: 24px;
    font-weight: 300;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.product-name {
    color:#123371
}

.secondary-text {
    color:#a19c9c;
    font-size:14px
}

.main-content p {
    line-height: 1.2;
    margin-bottom: 15px;
}

.main-content p:last-child {
    margin-bottom: 0;
}

.notice p {
    line-height: 1.6;
    margin-bottom: 0;
}

.payment-info p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.payment-info p:last-child {
    margin-bottom: 0;
}

.main-content {
    padding: 10px 30px;
}

.notice {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.important-note {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 15px;
    margin-top: 15px;
    font-size: 14px;
    color: #856404;
}

.contact-section {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    text-align: center;
}

.contact-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.contact-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.section-details, .payment-info, .contact-highlight {
    transition: box-shadow 0.3s ease;
}

.section-details:hover, .payment-info:hover, .contact-highlight:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.important-note, .apology-text {
    position: relative;
}

.important-note::before, .apology-text::before {

    font-size: 16px;
    margin-right: 8px;
}

.signature {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    text-align: left;
}

.signature-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.footer {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 20px 30px;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
}

.footer a {
    color: #ffffff;
    text-decoration: underline;
}

/* Responsive design */
@media only screen and (max-width: 600px) {
    .email-container {
    width: 100% !important;
    }

    .header, .main-content, .footer {
    padding-left: 20px !important;
    padding-right: 20px !important;
    }

    .voucher-card, .section-details, .payment-info, .contact-section {
    padding: 15px !important;
    }

    .greeting {
    font-size: 16px !important;
    }

    .contact-highlight {
    padding: 12px !important;
    }

    .contact-highlight p {
    font-size: 14px !important;
    }
}

.greeting {
    font-size: 18px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 25px;
}

.section-details {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px;
    margin: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.section-details-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

.item-detail {
    margin-bottom: 8px;
    font-size: 14px;
    color: #495057;
}

.details-label {
    font-weight: 600;
    color: #2c3e50;
}

.payment-info {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 10px;
    margin: 10px 0;
    font-size: 14px;
    color: #856404;
    line-height: 1.6;
}

.payment-info-title {
    font-size: 16px;
    font-weight: 600;
    color: #856404;
    margin-bottom: 15px;
}

.apology-text {
    background-color: #f8f9fa;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin: 20px 0;
    font-style: italic;
    color: #6c757d;
}

.contact-highlight {
    background-color: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 6px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
}

.contact-highlight a {
    color: #1976d2;
    font-weight: 600;
    text-decoration: none;
}

.contact-highlight a:hover {
    text-decoration: underline;
}

.logo {
    max-width: 150px;
    height: auto;
}

.bottom-logo {
    padding: 0px;
    max-width: 100px;
}

/* Inline styles moved from body */
.notice h2 {
    margin: 0 0 10px 0;
    color: #162772;
    font-size: 16px;
}

.payment-info .highlight-text {
    font-weight: 600;
}

.sr-only {
    display: none;
}

.contact-highlight .thank-you {
    font-size: 14px;
    color: #6c757d;
}
