/* ///////////////////////////////////
// HABBO HOMES - RECREATED BY ICING //
//////////////////////////////////////
// © 2025 - IT IS ILLEGAL TO COPY,  //
// MODIFY, REDISTRIBUTE OR USE THIS //
// CODE WITHOUT LICENSE.            //
/////////////////////////////////// */

.Modal {
	display: flex;
	justify-content: center; 
	align-items: center;     
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	padding: 0;
	background-color: rgba(0, 0, 0, 0.8);
	overflow-y: auto;
	z-index: 999999;
	opacity: 0;
	visibility: hidden;
	transition: all 0.2s;
  }
  
  .Modal.active {
	opacity: 1;
	visibility: visible;
  }
  
  .Modal .ModalBox {
	width: 808px;
	padding: 15px 10px;
	border-radius: 5px;
	position: relative;
	z-index: 999999;
  }
  
  .Modal .ModalExit {
	width: 24px;
	height: 24px;
	position: absolute;
	top: 8px;
	right: 8px;
	background: url('../../../uploads_homes/main/icon-cancel.gif') no-repeat center center;
	background-size: contain;
	border: none;
	cursor: pointer;
	z-index: 10;
  }
  
  .Modal .ModalTitle {
	width: 100%;
	margin-bottom: 10px;
	text-align: center;
	text-transform: uppercase;
	font-size: 15px;
	font-weight: 600;
	color: #444;
  }
  
  .tab-bar {
	display: flex;
	border-bottom: 2px solid #999;
	margin-right: 7px;
	font-family: "Volter-Goldfish-9pt";
  }
  
  .tab-button {
	width: 50%;
	text-align: center;
	padding: 8px 0;
	cursor: pointer;
	background: #ccc;
	font-size: 13px;
	font-weight: 500;
	color: #333;
	border-right: 1px solid #999;
  }
  .tab-button:last-child {
	border-right: none;
  }
  .tab-button.active {
	background: #fff;
	font-weight: bold;
  }
  
  .Modal .ModalContent {
	width: 100%;
	font-size: 13px;
	color: #444;
	min-height: 420px;
  }
  
  .home-3cols {
	display: flex;
	flex-direction: row;
	width: 100%;
	height: 420px;
	overflow: hidden;
  }
  
  .home-3cols .home-categories {
	width: 29%;
	border-right: 1px solid #ccc;
	padding: 0.5rem;
	overflow-y: auto;
  }
  .home-categories ul {
	list-style: none;
	margin: 0;
	padding: 0;
  }
  .home-categories li {
	padding: 5px 0;
	cursor: pointer;
  }
  .home-categories li.active {
	font-weight: bold;
	color: #C35F1B;
  }
  
  .home-3cols .home-items {
	width: 38%;
    padding-top: 0.5rem;
    padding-right: 0.5rem;
    padding-bottom: 0.5rem;
	margin-left: 1rem;
	border-right: 1px solid #ccc;
	overflow-y: auto;
  }
  .items-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
  }
  .item-square {
	width: 60px;
	height: 60px;
	border: 1px solid #ccc;
	background-color: #f9f9f9;
	cursor: pointer;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
  }
  .item-square.selected {
	outline: 2px solid orange;
  }
  .item-square img {
	max-width: 100%;
	max-height: 100%;
  }
  
  .home-3cols .home-preview {
	width: 35%;
	padding: 1rem;
	overflow-y: auto; 
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
  }
  .home-preview .preview-img {
	width: 64px;
	height: 64px;
	margin-bottom: 0.5rem;
	background: #eee;
  }
  .home-preview .preview-name {
	font-weight: bold;
	margin-bottom: 0.5rem;
  }
  .home-preview .preview-price,
  .home-preview .preview-balance {
	width: 100%;
	display: flex;
	justify-content: space-between;
	padding: 5px 0;
	border-bottom: 1px dashed #ccc;
	margin-bottom: 5px;
  }
  .home-preview .preview-actions {
	margin-top: auto;
  }
  .purchase-btn, .use-btn {
	background-color: #C35F1B;
	color: #fff;
	border: none;
	padding: 8px 16px;
	cursor: pointer;
	border-radius: 3px;
	margin-top: 8px;
  }
  .purchase-btn:hover, .use-btn:hover {
	background-color: #0cd09e;
  }
  .purchase-widget-btn, .use-btn {
	background-color: #C35F1B;
	color: #fff;
	border: none;
	padding: 8px 16px;
	cursor: pointer;
	border-radius: 3px;
	margin-top: 8px;
  }
  .purchase-widget-btn:hover, .use-btn:hover {
	background-color: #0cd09e;
  }
  
  .home-preview .empty-msg {
	margin-top: 20px;
	font-style: italic;
	color: #777;
  }

  .preview-img-wrapper {
	width: 150px;
	height: 150px;
	margin: 0 auto;
  }
  
  .preview-bg {
	width: 100%;
	height: 100%;
	background: url('../../../uploads_homes/main/preview_background.gif') no-repeat center center;
	position: relative;
  }
  
  .preview-bg img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
  }

.row-line {
	display: flex;
	align-items: center;
	border-bottom: 1px dashed #ccc;
  }
  
  .icon-left {
	width: 18px;
	height: 18px;
	object-fit: contain;
  }
  
  .row-line .value {
	margin-left: auto;
	font-weight: bold;
  }

  .pw-input {
	padding: 6px;
	font-size: 14px;
  }
  
  .shake {
	animation: shakeAnim 0.6s;
  }
  @keyframes shakeAnim {
	0%   { transform: translateX(0); }
	20%  { transform: translateX(-8px); }
	40%  { transform: translateX(8px); }
	60%  { transform: translateX(-8px); }
	80%  { transform: translateX(8px); }
	100% { transform: translateX(0); }
  }