.dashboard-header {
    margin-bottom: 20px;
}

/* GRID DE TABLEROS */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 25px;
}

/* TARJETA */
.board-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #e9eef5;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform .2s ease, box-shadow .2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.board-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.board-title {
    margin: 0;
    font-weight: 700;
    font-size: 18px;
    color: #183957;
}

.board-info {
    margin: 5px 0 0;
    font-size: 13px;
    color: #60738d;
}

/* ACCIONES */
.board-actions {
    display: flex;
    gap: 8px;
}

.icon-btn {
    background: #e8f1ff;
    color: #2563eb;
    padding: 8px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all .2s ease;
}

.icon-btn:hover {
    background: #d6e7ff;
    transform: translateY(-2px);
}

.icon-btn i {
    font-size: 20px;
}

/* INPUT INVITE */
.invite-input {
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    border-radius: 8px;
    border: 1px solid #dde3eb;
    background: #f4f9ff;
    font-size: 14px;
}

/* Barra de creación */
.create-board-bar {
    display: flex;
    gap: 10px;
    margin: 15px 0 25px;
}

.create-board-bar input {
    flex: 1;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid #dbe1f1;
    background: #f8faff;
    transition: box-shadow .2s ease;
}

.create-board-bar input:focus {
    outline: none;
    box-shadow: 0 0 0 3px #4fa4ff33;
}

.add-btn {
    background: #4fa4ff;
    border-radius: 10px;
    padding: 0 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.add-btn i {
    font-size: 20px;
    color: white;
}

/* Buscador */
.search-bar {
    position: relative;
    margin: 10px 0 25px;
}

.search-bar i {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    font-size: 18px;
    color: #7d8ca0;
}

.search-bar input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 1px solid #dbe1f1;
    background: #f8faff;
    border-radius: 10px;
    font-size: 15px;
    transition: box-shadow .2s ease;
}

.search-bar input:focus {
    outline: none;
    box-shadow: 0 0 0 3px #4fa4ff33;
}

.board-menu-wrapper {
    position: relative;
}

.board-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
    padding: 6px;
    min-width: 160px;
    z-index: 50;
}

.board-menu button {
    width: 100%;
    text-align: left;
    padding: 8px;
    border: none;
    background: none;
    cursor: pointer;
}

.board-menu button:hover {
    background: #f3f3f3;
}


/* El contenedor de perfil debe estar posicionado */
/*PROFILE*/
.profile-wrapper {
    position: relative;
}

.profile-dropdown {
    position: absolute;
    top: 110%;
    right: 0;
    width: 280px;
    max-width: 90vw;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .12);
    z-index: 1000;
    overflow: hidden;
    font-size: 14px;
}

.profile-header {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.profile-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.profile-info strong {
    display: block;
}

.profile-actions {
    padding: 10px;
}

.profile-wrapper.active .profile-dropdown {
    display: block;
}

.hidden {
    display: none;
}



/* Estilo para la advertencia flotante */
.license-warning {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.license-warning.hidden {
    opacity: 0;
    visibility: hidden;
}