/* =============================================
   KC Gotenberg PDF - Frontend Styles
   ============================================= */

.kc-gotenberg-pdf-wrapper {
    margin: 20px 0;
}

.kc-gotenberg-pdf-title {
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

.kc-gotenberg-pdf-btn {
    border-radius: 10px;
    background-color: #0090D0;
    border: 2px solid #0090D0;
    font-family: "Afacad", sans-serif;
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 22px;
    min-width: inherit;
    transition: all 0.3s;
}

.kc-gotenberg-pdf-btn:hover {

}

.kc-gotenberg-pdf-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(211, 47, 47, 0.3);
}

.kc-gotenberg-pdf-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.kc-gotenberg-pdf-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.kc-gotenberg-pdf-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: kc-gotenberg-spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

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

.kc-gotenberg-pdf-message {
    margin-top: 12px;
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.kc-gotenberg-pdf-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.kc-gotenberg-pdf-message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.kc-gotenberg-pdf-message a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}
