@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Roboto:wght@400;600;700&display=swap'); .acush-portal-wrap {
    font-family: 'Poppins',sans-serif;
    max-width: 860px;
    margin: 0 auto;
    padding: 10px;
}

.acush-form-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.acush-form-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 2px solid #2bae9a;
}

.acush-academy-name {
    font-family: 'Roboto',sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #3C4A94;
    margin: 0 0 3px;
}

.acush-academy-sub {
    font-size: 11px;
    color: #666;
    margin: 0;
}

.acush-form-title {
    font-size: 20px;
    font-weight: 700;
    color: #3C4A94;
    font-family: 'Roboto',sans-serif;
    text-align: center;
    margin: 0 0 20px;
}

.acush-notice-content {
    text-align: center;
    padding: 20px 10px;
    font-size: 15px;
    color: #333;
    font-weight: 600;
}

.error-message {
    color: #ff0000;
    background: #ffdddd;
    padding: 10px;
    margin-bottom: 16px;
    border: 1px solid #ff8888;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
}

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

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

.form-group input[type="text"], .form-group input[type="date"] {
    width: 100%;
    padding: 14px 18px;
    background: #D4F7E8;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Poppins',sans-serif;
    font-weight: 600;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #2bae9a;
    box-shadow: 0 0 0 2px rgba(43,174,154,.2);
}

.radio-buttons {
    display: flex;
    align-items: center;
}

.radio-buttons input[type="radio"] {
    margin-right: 5px;
    accent-color: #2bae9a;
}

.radio-buttons label {
    margin-right: 15px;
    font-weight: 600;
    cursor: pointer;
}

.acush-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media(max-width: 500px) {
    .acush-form-row {
        grid-template-columns:1fr;
    }
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #2bae9a;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    font-family: 'Poppins',sans-serif;
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: .2s;
}

.submit-btn:hover {
    background: #13B9AB;
}

.submit-btn:disabled {
    opacity: .7;
    cursor: not-allowed;
}

.acush-btn-spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: acush-spin .7s linear infinite;
}

@keyframes acush-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Certificate */
.acush-cert-outer {
    max-width: 860px;
    margin: 0 auto;
}

.acush-actions-bar {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 12px;
}

.acush-back-btn {
    padding: 8px 18px;
    border-radius: 4px;
    background: #eee;
    color: #333;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.acush-print-btn {
    padding: 8px 18px;
    border-radius: 4px;
    background: #2bae9a;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.acush-back-btn:hover {
    background: #ddd;
}

.acush-print-btn:hover {
    background: #13B9AB;
}

.acush-cert-wrap {
    overflow-x: auto;
}

.acush-certificate {
    position: relative;
    border: 2px solid #000;
    padding: 15px 18px;
    width: 800px;
    min-height: 950px;
    background: #fff;
    font-family: Arial,sans-serif;
    overflow: hidden;
    transform-origin: top left;
}

.acush-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    opacity: 0.16;
    pointer-events: none;
    z-index: 0;
}

.acush-watermark img {
    width: 300px;
    height: 300px;
}

.acush-cert-header,.acush-cert-course,.acush-cert-info,.acush-marks-table,.acush-cert-sign-row,.acush-result-declaration,.acush-grade-legend {
    position: relative;
    z-index: 1;
}

.acush-cert-header {
    text-align: center;
    margin-bottom: 10px;
}

.acush-cert-header h1 {
    font-size: 20px;
    margin: 6px 0 2px;
}

.acush-cert-header p {
    margin: 0;
    font-size: 11px;
}

.acush-cert-course {
    text-align: center;
    font-weight: bold;
    font-size: 17px;
    margin: 14px 0;
    letter-spacing: .5px;
}

.acush-cert-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px 20px;
    margin-bottom: 14px;
}

.acush-cert-row {
    display: flex;
    gap: 6px;
    font-size: 13px;
    padding: 2px 0;
}

.acush-cert-row span:first-child {
    font-weight: bold;
    min-width: 145px;
    flex-shrink: 0;
}

.acush-marks-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 14px;
    font-size: 13px;
    background-image: url('https://www.acushacupuncture.com/wp-content/uploads/2023/02/cropped-LOGO-512x512-01.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
}

.acush-marks-table th,.acush-marks-table td {
    border: 1px solid #000;
    padding: 5px;
    text-align: center;
}

.acush-marks-table th {
    background: #2bae9a;
    color: #fff;
}

.acush-marks-table tr:nth-child(odd) td {
    background: rgba(212,247,232,.5);
}

.acush-marks-table tr:nth-child(even) td {
    background: #fff;
}

.acush-marks-table td:nth-child(2) {
    text-align: left;
}

.acush-grand-total-row td {
    font-weight: bold;
}

.acush-result-declaration {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 6px;
}

.acush-passed {
    color: #155724;
}

.acush-failed {
    color: #721c24;
}

.acush-grade-legend {
    text-align: center;
    font-size: 11px;
    color: #555;
    margin-bottom: 14px;
}

.acush-cert-sign-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 10px;
}

.acush-sign-block {
    text-align: center;
}

.acush-sign-block p {
    font-size: 12px;
    margin: 0;
}

.acush-sign-line {
    width: 160px;
    border-top: 1px solid #000;
    margin-bottom: 4px;
}

@media(max-width: 799px) {
    .acush-certificate {
        transform:scale(.5);
        margin-left: -200px;
    }
}

@media(max-width: 599px) {
    .acush-certificate {
        transform:scale(.375);
        margin-left: -250px;
    }
}

@media(max-width: 479px) {
    .acush-certificate {
        transform:scale(.3);
        margin-left: -280px;
    }
}

@media print {
    body * {
        visibility: hidden;
    }

    .acush-certificate,.acush-certificate * {
        visibility: visible;
    }

    .acush-certificate {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        transform: none!important;
        border: none;
        padding: 20px;
    }

    .acush-actions-bar {
        display: none!important;
    }
}
