/**
 * Vault Downloads - Frontend Styling
 * Past bij Andes Ontrafeld brand (#2d4a68 / #f5f0eb)
 */

.vault-download-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e0dbd5;
    border-radius: 8px;
    padding: 24px 28px;
    margin: 16px 0;
    transition: box-shadow 0.2s ease;
}

.vault-download-card:hover {
    box-shadow: 0 2px 12px rgba(45, 74, 104, 0.1);
}

.vault-download-info {
    flex: 1;
    margin-right: 24px;
}

.vault-download-title {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 600;
    color: #2d4a68;
}

.vault-download-desc {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.vault-download-action {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.vault-download-price {
    font-size: 18px;
    font-weight: 700;
    color: #2d4a68;
}

.vault-download-btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: #2d4a68;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    line-height: 1.4;
}

.vault-download-btn:hover {
    background-color: #1a2e42;
    color: #ffffff;
}

.vault-download-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Koop-modal */
.vault-buy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vault-buy-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.vault-buy-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    padding: 36px;
    width: 420px;
    max-width: 90vw;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.vault-buy-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    padding: 0;
    line-height: 1;
}

.vault-buy-modal-close:hover {
    color: #333;
}

#vault-buy-modal-title {
    margin: 0 0 4px;
    font-size: 22px;
    color: #2d4a68;
}

.vault-buy-modal-price {
    margin: 0 0 24px;
    font-size: 18px;
    font-weight: 700;
    color: #2d4a68;
}

.vault-buy-field {
    margin-bottom: 16px;
}

.vault-buy-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
    font-size: 14px;
}

.vault-buy-field input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.vault-buy-field input:focus {
    outline: none;
    border-color: #2d4a68;
    box-shadow: 0 0 0 2px rgba(45, 74, 104, 0.15);
}

.vault-buy-submit-btn {
    width: 100%;
    margin-top: 8px;
    padding: 12px;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 600px) {
    .vault-download-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .vault-download-info {
        margin-right: 0;
        margin-bottom: 16px;
    }

    .vault-download-action {
        flex-direction: column;
        width: 100%;
    }

    .vault-download-btn {
        width: 100%;
    }
}
