/**
 * Facebook In-App Browser Modal Styles
 */

.fb-browser-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.fb-browser-modal {
    background: #ffffff;
    border-radius: 12px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: fb-modal-slide-in 0.3s ease-out;
    overflow: hidden;
}

@keyframes fb-modal-slide-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fb-browser-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.fb-browser-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.fb-browser-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.fb-browser-modal-close:hover {
    background-color: #e0e0e0;
    color: #333;
}

.fb-browser-modal-body {
    padding: 20px;
}

.fb-browser-modal-body p {
    margin: 0 0 15px;
    font-size: 15px;
    line-height: 1.5;
    color: #444;
}

.fb-browser-modal-body p:last-child {
    margin-bottom: 0;
}

.fb-browser-instructions {
    background: #e8f4fd;
    border-left: 4px solid #0073e6;
    padding: 12px 15px;
    border-radius: 0 8px 8px 0;
    margin: 15px 0 !important;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .fb-browser-modal-overlay {
        padding: 15px;
    }

    .fb-browser-modal-header {
        padding: 14px 16px;
    }

    .fb-browser-modal-header h3 {
        font-size: 16px;
    }

    .fb-browser-modal-body {
        padding: 16px;
    }

    .fb-browser-modal-body p {
        font-size: 14px;
    }

    .fb-browser-visual-guide {
        padding: 15px;
        gap: 10px;
    }

}
