/* ── Hands On Artist PDF – Frontend Styles ── */

/* Download Button */
.hoap-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e91e8c;
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.2s ease, transform 0.1s ease;
}
.hoap-btn:hover {
    background: #c4177a;
    transform: translateY(-1px);
}
.hoap-btn svg {
    flex-shrink: 0;
}

/* Modal Overlay */
.hoap-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 43, 58, 0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: hoap-fade-in 0.2s ease;
}

@keyframes hoap-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Modal Box */
.hoap-modal {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    max-width: 460px;
    width: 100%;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: hoap-slide-up 0.25s ease;
}

@keyframes hoap-slide-up {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

/* Close */
.hoap-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.15s;
}
.hoap-modal-close:hover {
    color: #333;
}

/* Logo */
.hoap-modal-logo {
    margin-bottom: 20px;
}
.hoap-modal-logo img {
    height: 48px;
    width: auto;
}

/* Title */
.hoap-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #002b3a;
    margin-bottom: 10px;
}

/* Subtitle */
.hoap-modal-sub {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Form */
.hoap-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hoap-input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.hoap-input:focus {
    border-color: #e91e8c;
}

.hoap-submit {
    width: 100%;
    background: #002b3a;
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}
.hoap-submit:hover {
    background: #e91e8c;
}
.hoap-submit:disabled {
    background: #999;
    cursor: not-allowed;
}

/* Error */
.hoap-error {
    background: #fff0f0;
    border: 1px solid #ffcccc;
    color: #cc0000;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 13px;
    text-align: left;
}

/* Privacy note */
.hoap-privacy {
    margin-top: 16px;
    font-size: 11px;
    color: #aaa;
}

/* Success state */
.hoap-success {
    text-align: center;
    padding: 10px 0;
}
.hoap-success-icon {
    font-size: 40px;
    margin-bottom: 12px;
}
.hoap-success h3 {
    color: #002b3a;
    font-size: 18px;
    margin-bottom: 8px;
}
.hoap-success p {
    color: #666;
    font-size: 13px;
}

/* Mobile */
@media (max-width: 480px) {
    .hoap-modal {
        padding: 30px 20px;
    }
}
