/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #F7F7F7;
    color: #000;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 0;
}

.logo {
    max-width: 220px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.header h1 {
    font-size: 32px;
    color: #000;
    margin: 15px 0 5px 0;
    font-weight: 600;
    line-height: 1.3;
}

/* Attestation Message */
.attestation-message {
    font-size: 20px;
    color: #008000;
    margin-top: 0;
    margin-bottom: 25px;
    line-height: 1.5;
    font-weight: bold;
    text-align: center;
}

/* Certificate Details */
.certificate-details {
    margin-bottom: 0;
}

.detail-row {
    display: flex;
    margin-bottom: 0;
}

.detail-row.highlight .detail-label,
.detail-row.highlight .detail-value {
    background-color: #D7EDEE;
}

.detail-label {
    font-weight: bold;
    color: #000;
    width: 40%;
    padding: 12px 15px 12px 120px;
    background-color: #F7F7F7;
    font-size: 16px;
    border-right: none;
    text-align: left;
    vertical-align: top;
    line-height: 1.5;
}

.detail-value {
    color: #000;
    width: 60%;
    padding: 12px 15px;
    background-color: #F7F7F7;
    font-size: 16px;
    text-align: left;
    font-weight: bold;
}

/* Footer */
.footer {
    text-align: left;
    font-size: 15px;
    margin-top: 0;
    padding-top: 0;
}

.footer-note {
    color: #000;
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-contact {
    color: #008000;
    margin-bottom: 0;
    line-height: 1.6;
    font-weight: bold;
}

/* Search Section */
.search-section {
    text-align: center;
    padding: 40px 20px;
}

.search-section h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
}

.search-section p {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
}

.verify-form {
    max-width: 100%;
}

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

.form-group input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #008000;
}

.verify-btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    background: #008000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.verify-btn:hover {
    background: #006600;
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .header h1 {
        font-size: 26px;
    }

    .attestation-message {
        font-size: 18px;
    }

    .detail-label,
    .detail-value {
        font-size: 15px;
        padding: 10px;
    }

    .detail-label {
        width: 35%;
    }

    .detail-value {
        width: 65%;
    }

    .footer {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 150px;
    }

    .header h1 {
        font-size: 24px;
    }

    .attestation-message {
        font-size: 17px;
    }

    .detail-label,
    .detail-value {
        font-size: 14px;
        padding: 8px;
    }
    
    .footer {
        font-size: 12px;
    }
}
