.logo{
	max-height: 80px;
}

/* ======================== */
/* RESPONSIVE.CSS - BASE */
/* ======================== */

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Exemplo */
    body {
        font-size: 14px;
    }
}

/* Small devices (portrait tablets and large phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .container {
        padding: 0 15px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .menu {
        flex-direction: column;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .sidebar {
        width: 250px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* ======================== */
/* CASOS COMUNS EXTRAS */
/* ======================== */

/* Ocultar algo só no mobile */
@media (max-width: 767.98px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Ocultar algo só no desktop */
@media (min-width: 768px) {
    .hide-desktop {
        display: none !important;
    }
}

/* Centralizar texto no mobile */
@media (max-width: 575.98px) {
    .text-center-mobile {
        text-align: center !important;
    }
}

/* Grid com 2 colunas no mobile */
@media (max-width: 767.98px) {
    .grid-mobile-2col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
body{
    background-image: url(<?=url('/assets/img/x.png')?>);
	background-attachment: fixed;
	font-family: Arial,sans-serif;
	background-size: cover;
	padding: 10px;
	backdrop-filter: brightness(0.5);
    background-position: bottom;
}

.container{
    max-width:1000px;
    margin:auto;
}
.card{
    padding:25px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    margin-bottom:20px;
    background: #ffffff7a !important;
}

.container-preview, .design {
	cursor: pointer;
	box-shadow: 0 5px 15px rgba(0,0,0,.08);
	border: dashed white 1px;
	padding: 10px;
	border-radius: 5px;
	transition: .2s;
	display: flex;
	flex-direction: column-reverse;
	flex-wrap: nowrap;
	justify-content: space-around;
    background-image: url(../img/transparent.png);
}

.container-preview {
	text-align: center;
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: stretch;
}


.preview {
	max-width: 100%;
	max-height: 100%;
	height: auto;
}




.designs{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
    gap:15px;
}

.design:hover, .container-preview:hover{
    transform:translateY(-4px);
}
.design img {
	width: 100%;
	height: auto;
}
.design .info{
    padding:12px;
}




.upload-box{
    border:2px dashed #cbd5e1;
    border-radius:14px;
    padding:30px;
    text-align:center;
    cursor:pointer;
    transition:.2s;
    background:#fafafa;
    display: block;
}
.upload-box:hover{
    border-color:#7d2cff;
    background:#f8f4ff;
}
.upload-icon{
    font-size:40px;
    margin-bottom:10px;
}
.upload-text{
    font-weight:bold;
    font-size:16px;
}
.upload-box small{
    display:block;
    margin-top:8px;
    color:#666;
}
.sizes{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-top:15px;
}
input,button{
    width:100%;
    padding:14px;
    border:1px solid #ddd;
    border-radius:10px;
}
button{
    background:#7d2cff;
    color:#fff;
    border:0;
    cursor:pointer;
    margin-top:15px;
    font-weight:bold;
}
button:disabled{
    opacity:.5;
}
.loading{
    display:none;
    text-align:center;
    padding:20px;
}
.spinner{
    width:32px;
    height:32px;
    border:4px solid #ddd;
    border-top-color:#7d2cff;
    border-radius:50%;
    margin:auto;
    animation:spin .8s linear infinite;
}
@keyframes spin{
    to{ transform:rotate(360deg); }
}

@media(max-width:700px){
    .sizes{
        grid-template-columns:1fr;
    }
    .preview{
        height:220px;
    }
    .card{
        padding:18px;
    }
}




.aviso a{
    text-decoration: none;
    font-weight: bold;
}

.btn-blank{
    background: white !important;
}

#width,
#height{
    min-width: 72px;
}