/* =============================================
   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 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
    text-decoration: none;
    line-height: 1.4;
}

.kc-gotenberg-pdf-btn:hover {
    background: linear-gradient(135deg, #b71c1c 0%, #8e0000 100%);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
    transform: translateY(-1px);
}

.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;
}
