/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */

.pisol-pro-message {
    position: relative;
}

.pisol-pro-message-content {
    width: 100%;
    height: 100%;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 0, 0.4);
    color: #fff
}

.pisol-pro-message-content span {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}

.select2-container {
    width: 100% !important;
}

.bootstrap-wrapper .page-numbers {
    background: #1a4562 !important;
    color: #FFF !important;
    padding: 10px !important;
    border-radius: 4px;
    margin-bottom: 0 !important;
}

.bootstrap-wrapper .page-numbers li a {
    color: #ff0000 !important;
    font-weight: bold;
}

.bootstrap-wrapper .page-numbers li {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
}

.pi-selectable {
    -webkit-touch-callout: all;
    /* iOS Safari */
    -webkit-user-select: all;
    /* Safari */
    -khtml-user-select: all;
    /* Konqueror HTML */
    -moz-user-select: all;
    /* Firefox */
    -ms-user-select: all;
    /* Internet Explorer/Edge */
    user-select: all;
    /* Chrome and Opera */

}

/* side menu */
.bootstrap-wrapper #pisol-side-menu{
	background: linear-gradient(135deg, #1a4562, #2f6c8c, #1a4562);
	color:#fff;
	padding:10px;
	border-radius:10px;
	margin-top:20px;
	display:flex;
	flex-direction: column;
	color:#fff;
	gap:0.5rem;
}

.bootstrap-wrapper .pi-sticky{
	position: sticky;
	top: 60px;
}


.bootstrap-wrapper #pisol-side-menu a{
	color:#fff !important;
	padding:5px 5px !important;
	transition:all 0.3s ease;
	letter-spacing: 1.2px;
}

.bootstrap-wrapper #pisol-side-menu a .dashicons{
	margin-right:5px;
}

.bootstrap-wrapper #pisol-side-menu a:hover, .bootstrap-wrapper #pisol-side-menu a.active{
	text-decoration: none;
	color: #ccc !important;
	font-weight:bold;
}

.bootstrap-wrapper #pisol-side-menu a.bg-primary,.bootstrap-wrapper #pisol-side-menu a.bg-secondary{
	background: transparent !important;
	border:0 !important
}

.bootstrap-wrapper #pisol-side-menu a.bg-primary .dashicons{
	color: var(--primary) !important;
}

.bootstrap-wrapper #pisol-side-menu .pi-sub-menu{
    margin-left:20px;
}

.bootstrap-wrapper #pisol-side-menu .pi-sub-menu a{
		margin:0px !important;
		padding:5px 0 5px 10px !important;
		text-align:left !important;
		border:0 !important;
        justify-content: flex-start !important;

    & .pi-icon{
        margin-right:10px;
    }

    &.bg-primary .pi-icon{
		color: var(--primary) !important;
        font-weight:bold;
        font-size:1rem;
	}
}

.bootstrap-wrapper #pisol-side-menu > a:last-child:before{
	content: "🔑";
	margin-right:5px;
}

/* menu done */

/* form */
.opacity-0 {
  opacity: 0 !important;
}

.opacity-25 {
  opacity: 0.25 !important;
}

.opacity-50 {
  opacity: 0.5 !important;
}

.opacity-75 {
  opacity: 0.75 !important;
}

.opacity-100 {
  opacity: 1 !important;
}

.pisol-form-element-row small{
	color:#1a4562;
	opacity:0.7;
	margin-top:10px;
	display:block;
}
/* end form */

.page-numbers li{
    margin-bottom:0 !important
}

.bootstrap-wrapper .page-numbers li a{
    color:var(--primary) !important;
}

/* close side bar */
.pi-arrow-circle {
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index:1000;
  position:absolute;
  top: -20px;
  left: -20px;
  opacity:0.9;
}

.pi-arrow-icon {
  width: 20px;
  height: 20px;
  display: block;
  transition: transform 0.3s ease;
}

/* Flip the arrow horizontally for "open" state (→) */
.pi-arrow-circle.open .pi-arrow-icon {
  transform: rotate(180deg);
}
