/* ==========================================================================
   WPSchoolPress – Addons Page Styles
   ========================================================================== */

.wpsp-addons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
}

.wpsp-addon-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}

.wpsp-addon-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.wpsp-addon-card-header {
    background: #f7f8fc;
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 16px 14px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.wpsp-addon-icon {
    max-height: 50px;
    max-width: 120px;
    object-fit: contain;
}

.wpsp-addon-icon-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e8f0fe;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpsp-addon-icon-placeholder .fa {
    font-size: 24px;
    color: #3c6dd9;
}

.wpsp-addon-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f59e0b;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpsp-addon-installed-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #10b981;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 10px;
}

.wpsp-addon-installed-badge .fa {
    font-size: 10px;
}

.wpsp-addon-card-body {
    padding: 16px;
    flex: 1;
}

.wpsp-addon-name {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px;
    line-height: 1.4;
}

.wpsp-addon-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.wpsp-addon-card-footer {
    border-top: 1px solid #f1f5f9;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wpsp-addon-price {
    font-size: 14px;
    font-weight: 700;
    color: #3c6dd9;
}

.wpsp-addon-btn {
    font-size: 12px;
    padding: 6px 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.wpsp-addons-footer-note {
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
    margin-top: 8px;
}

.wpsp-addons-footer-note p {
    color: #64748b;
    font-size: 13px;
    margin: 0;
}

.wpsp-addons-footer-note a {
    color: #3c6dd9;
}

@media (max-width: 1024px) {
    .wpsp-addon-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 640px) {
    .wpsp-addon-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ==========================================================================
   WPSchoolPress – Customization Request Form Styles
   ========================================================================== */

.wpsp-customization-info-box {
    background: #f7f8fc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 20px;
}

.wpsp-customization-info-box h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px;
}

.wpsp-customization-info-box h4 .fa {
    color: #3c6dd9;
    margin-right: 4px;
}

.wpsp-customization-info-box ul {
    padding-left: 18px;
    margin-bottom: 16px;
}

.wpsp-customization-info-box ul li {
    font-size: 13px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 4px;
}

.wpsp-customization-info-box hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 14px 0;
}

.wpsp-customization-info-box p {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 8px;
}

.wpsp-customization-info-box a {
    color: #3c6dd9;
}

.wpsp-required {
    color: #ef4444;
    font-size: 13px;
}

#wpsp-customization-response {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 13px;
}

#wpsp-customization-response.alert-success {
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

#wpsp-customization-response.alert-danger {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

#wpsp-customization-response ul {
    margin: 0;
    padding-left: 18px;
}