/* GENERAL */
@media screen and (max-width:39.9375em) {
	.parentResize{
		border-radius: 0px;
	}
}

/* DRAGGABLE */
.draggable {
    position: absolute;
}

/* RESIZABLE */
.parentResize{	
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    grid-template-areas:
        "d c b"
        "a i e"
        "f g h";
	place-self: center;	
}

.resizable { grid-area: i; }
.left { grid-area: a; }
.right { grid-area: e; }
.top { grid-area: c; }
.bottom { grid-area: g; }
.upperLeft { grid-area: d; }
.upperRight { grid-area: b; }
.lowerLeft { grid-area: f; }
.lowerRight { grid-area: h; }

.resizable,.left,.right,.top,.bottom,.upperLeft,.upperRight,.lowerLeft,.lowerRight{
	background-color: transparent;
	transition: background-color 0.2s ease;
}

.left:hover, .right:hover, .top:hover, .bottom:hover, .upperLeft:hover, .upperRight:hover, .lowerLeft:hover, .lowerRight:hover {
	background-color: rgba(0, 0, 0, 0.2);
}

.left:hover, .right:hover { cursor: ew-resize; }
.top:hover, .bottom:hover { cursor: ns-resize; }
.upperLeft:hover, .lowerRight:hover, .lowerRight:active { cursor: nwse-resize; }
.upperRight:hover, .lowerLeft:hover, .lowerLeft:active { cursor: nesw-resize; }

/* MIN MAX CLOSE */
.dragPoint {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align buttons to the left */    
    position: relative;
}

.window-title-area {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* Allow dragging through the title */
}

.btnContainer {
    display: flex;
    gap: 6px;
}

.mmcBtn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    background-color: #ddd;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.1s ease;
    position: relative; /* For pseudo-element positioning */
}

/* Hide the old SVG icons */
.svgIcon {
    display: none;
}

/* Style for the new symbols */
.mmcBtn::after {
    content: '';
    position: absolute;
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: bold;
    line-height: 12px; /* Center vertically */
    color: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
}

/* Show symbol on hover */
.mmcBtn:hover::after {
    opacity: 1;
}

/* Specific symbols for each button */
.closeBtn::after {
    content: '×';
}

.minBtn::after {
    content: '−';
}

.maxBtn::after {
    content: '+';
    font-size: 12px; /* Make plus slightly larger */
}


.mmcBtn:hover {
    transform: scale(1.1);
}

.closeBtn:hover { background-color: #ff5f57; }
.minBtn:hover { background-color: #ffbd2e; }
.maxBtn:hover { background-color: #28c940; }



#minimizeZone{
    position: absolute;
    bottom: 0px;
    width: 100%;
    overflow: hidden;
	text-align: center;
    z-index: 10; /* Ensure it's on top */
}

.minimizedTitle {
    display: table-cell;
    vertical-align: middle;    
    color: white;
}

.dropdownBtn { 
    width: 20px;
    padding: 0px;
    border: none;
    text-align: center;
    color: white;
    outline: none;
}

#dropdownList {
    display: none;
    position: fixed;
    bottom: 0px;
    right: 20px;
    width: 100px;
    background-color: rgba(48, 55, 97, 0.473);
    overflow-x: hidden;
}

.dropdownItem {
    padding: 4px;
    height: 14px;
    overflow: hidden;
}

.dropdownItem, .dropdownList, .dropdownItemx { cursor: default; }

.dropdownItem:hover { background-color: rgba(62, 68, 102, 0.473); }

.parentResize.active {
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

#desktop-scrim {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#desktop-scrim.active {
  opacity: 1;
  z-index: 1;
}