.captcha-download-link {
  border: 1px solid black;
  padding: 15px;
  margin: 0px 0;
  display: grid;
  color: black;
  text-decoration: none;
  grid-template-columns: 1fr 100fr 1fr;
  align-items: center;
}
.captcha-download-link::after {
  content: '\0203A';
  color: #eb1000;
  float: right;
  display: none;
  font-size: 2em;
  font-weight: bold;
  font-family: arial;
}

.captcha-download-link:hover {
    background: #eb1000;
    color: white !important;
}

.npd-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
}

.npd-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    animation: npdModalSlideIn 0.3s ease-out;
}

@keyframes npdModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.npd-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 15px;
    transition: color 0.3s ease;
    line-height: 1;
}

.npd-close:hover {
    color: #333;
}

.npd-file-info {
    text-align: center;
    margin-bottom: 25px;
}

.npd-file-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.npd-file-title {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.npd-file-description {
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
}

.npd-captcha-container {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.npd-download-button {
  background: #eb1000;
  color: white;
  border: none;
  padding: .5rem 1rem;
  font-size: var(--font-size-lg);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: block;
  margin: 20px auto;
  width: auto;
  min-width: 140px;
}

.npd-download-button:hover:not(:disabled) {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
}

.npd-download-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.npd-loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: npdSpin 1s linear infinite;
}

@keyframes npdSpin {
    to { transform: rotate(360deg); }
}

.npd-demo-recaptcha {
    border: 2px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    background: #f9f9f9;
    max-width: 280px;
    margin: 0 auto;
}

.npd-recaptcha-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px;
}

.npd-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 12px;
}

.npd-checkbox.checked {
    background: #4CAF50;
    border-color: #4CAF50;
    color: white;
}

.npd-recaptcha-logo {
    font-size: 0.75em;
    color: #666;
    margin-top: 8px;
    text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
    .npd-modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 78%;
    }
    
    .npd-file-icon {
        width: 60px;
        height: 60px;
        font-size: 1em;
    }
    
    .npd-file-title {
        font-size: 1.2em;
    }
    
    .npd-download-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}