/**
 * Afriforum Member Content Styles
 */

/* Blur effect for restricted content */
/* .afriforum-member-content-blur {
    filter: blur(8px);
    -webkit-filter: blur(8px);
    transition: filter 0.5s ease, -webkit-filter 0.5s ease;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
} */

/* Container for locked content */
/* .afriforum-member-content-locked {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin: 20px 0;
} */

/* Overlay for locked content */
/* .afriforum-member-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 240, 240, 0.9));
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background 0.3s ease;
}

.afriforum-member-content-overlay:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 245, 245, 0.95));
}

.afriforum-member-content-overlay::before {
    content: '';
    position: absolute;
    top: 50;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="rgba(0, 105, 56, 0.1)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg>');
    background-repeat: repeat;
    opacity: 0.5;
    z-index: -1;
} */

/* Popup modal styles */
.afriforum-member-content-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px); 
    -webkit-backdrop-filter: blur(5px);
}

/* Popup content container */
.afriforum-member-content-popup > div {
    background: #fff;
    padding: 30px;
    max-width: 400px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Form styles */
.afriforum-member-content-form {
    margin: 20px 0;
}

/* Method selection styles */
.afriforum-method-selection {
    margin-bottom: 20px;
}

.afriforum-method-selection label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.afriforum-method-selection select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-size: 16px;
}

.afriforum-input-container {
    margin-top: 15px;
}

.afriforum-member-content-form label {
    display: block;
    margin-bottom: 15px;
}

.afriforum-member-content-form input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.afriforum-member-content-form button {
    background: #006938; /* Afriforum green */
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

.afriforum-member-content-form button:hover {
    background: #005a30;
}

.afriforum-member-content-form button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Error and success message styles */
.afriforum-member-content-error {
    margin-top: 15px;
    padding: 10px 0;
}

/* Media queries for better mobile experience */
@media (max-width: 768px) {
    .afriforum-member-content-popup > div {
        width: 90%;
        padding: 20px;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .afriforum-member-content-popup h3 {
        font-size: 18px;
    }
    
    .afriforum-member-content-form button {
        padding: 10px 15px;
    }
}
