/*
Theme Name: 	BuddyBoss Child
Theme URI: 		https://www.buddyboss.com/
Description: 	A child theme of BuddyBoss Theme. To ensure easy updates, make your own edits in this theme.
Author: 		BuddyBoss.com
Author URI: 	https://www.buddyboss.com/
License: 		GNU General Public License v3 or later
License URI: 	http://www.gnu.org/licenses/gpl-3.0.html
Template: 		buddyboss-theme
Version: 		1.0.1
*/

/*

-- Stylesheet locations --

Add your own customizations into /css/custom.css in this child theme.

Parent styles are called from /buddyboss-theme/inc/theme/functions.php in the 
parent theme and are located in /buddyboss-theme/assets/css/ in the parent theme.


--- If you are editing CSS via the WordPress admin, do the following ---

1. Install the plugin WP Editor: http://wordpress.org/plugins/wp-editor/
2. Navigate to Appearance > Theme Editor in the WordPress admin.
3. Navigate into the /css/ folder of your child theme to edit custom.css.

*/

/* ===== INVITES — solo ajustes en móviles (≤600px) ===== */
@media (max-width: 600px) {

  /* Ocultar cabecera */
  .bb-bp-invites-content #member-invites-table thead {
    display: none !important;
  }

  /* Convertir filas en tarjetas */
  .bb-bp-invites-content #member-invites-table tbody {
    display: block !important;
  }
  .bb-bp-invites-content #member-invites-table tr {
    display: block !important;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    padding: 14px;
    margin-bottom: 14px;
  }
  .bb-bp-invites-content #member-invites-table td {
    display: block !important;
    border: none !important;
    padding: 8px 0 !important;
    white-space: normal !important;
  }

  /* Etiquetas (Nome / Email) */
  .bb-bp-invites-content #member-invites-table td:nth-child(1)::before {
    content: "Nome del destinatario";
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
    color: #111;
  }
  .bb-bp-invites-content #member-invites-table td:nth-child(2)::before {
    content: "Email del destinatario";
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
    color: #111;
  }

  /* Eliminar texto “Azioni” */
  .bb-bp-invites-content #member-invites-table td:nth-child(3)::before {
    content: none !important;
  }

  /* Inputs full width */
  .bb-bp-invites-content #member-invites-table input[type="text"],
  .bb-bp-invites-content #member-invites-table input[type="email"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Acciones centradas */
  .bb-bp-invites-content #member-invites-table .field-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 12px !important;
    padding-bottom: 12px !important;
  }

  /* ❌ arriba */
  .bb-bp-invites-content #member-invites-table .field-actions .bb-icon-times {
    order: 1;
    margin-bottom: 6px;
  }

  /* ➕ debajo */
  .bb-bp-invites-content #member-invites-table .field-actions .bb-icon-plus {
    order: 2;
    position: relative;
    margin-top: 8px;
  }

  /* Texto “Aggiungi nuovo” encima del + */
  .bb-bp-invites-content #member-invites-table .field-actions .bb-icon-plus::before {
    content: "Aggiungi nuovo";
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    margin-bottom: 6px;
  }

  /* Iconos más compactos */
  .bb-bp-invites-content #member-invites-table .field-actions .bb-icon-l {
    width: 28px !important;
    height: 28px !important;
  }
	
	.frbup-btn {
	  text-align: center;
	  line-height: 1.4;
	}
	
}
