body{
	font-family:Arial, Helvetica, sans-serif;
	background:#f5f5f5;
	margin:0;
	padding:0;
}

.header{
	background:#000000;
	padding:10px;
	text-align:center;
}

.logo{
	max-width:120px;
}

/* contenedor tipo tarjeta */
.card{
	width:95%;
	max-width:500px;
	margin:10px auto;
	padding:15px;
	border-radius:12px;
	background:white;
	box-shadow:0 2px 8px rgba(0,0,0,0.1);
}

h2{
	font-size:22px;
	margin-bottom:10px;
}

label{
	font-weight:bold;
	font-size:14px;
}

/* inputs y selects grandes */
input, select, button{
	width:100%;
	padding:12px;
	margin-top:8px;
	margin-bottom:12px;
	font-size:16px;
	border-radius:8px;
	border:1px solid #ccc;
	box-sizing:border-box;
}

/* botones */
button{
	background:#2196f3;
	color:white;
	border:none;
	font-weight:bold;
}

button:active{
	transform:scale(0.98);
}

button:hover{
	background:#e6b800;
}

#msg{
	margin-top:15px;
	font-weight:bold;
}

.qrCard{
	margin-top:15px;
	padding:15px;
	background:white;
	border-radius:12px;
	box-shadow:0 3px 8px rgba(0,0,0,0.08);
	text-align:center;
}

.qrCard img{
	width:180px;
	margin:10px 0;
}

.codigo{
	font-size:14px;
	color:#666;
}

.ok{
	margin-top:8px;
	padding:6px;
	background:#d4edda;
	border-radius:6px;
	text-align:center;
}

.pendiente{
	margin-top:8px;
	padding:6px;
	background:#fff3cd;
	border-radius:6px;
	text-align:center;
}

.resumen{
	background:white;
	padding:10px;
	margin-bottom:10px;
	border-radius:10px;
	box-shadow:0 2px 4px rgba(0,0,0,0.1);
}

.resumenFila{
	display:flex;
	justify-content:space-between;
	padding:4px 0;
	border-bottom:1px solid #eee;
}

.resumenFila:last-child{
	border-bottom:none;
}

.total{
	font-weight:bold;
	font-size:18px;
	margin-top:6px;
}

.btnGestion{
	display:block;
	text-align:center;
	padding:10px;
	margin-bottom:10px;
	background:#e3f2fd;
	border-radius:10px;
	text-decoration:none;
	color:black;
	font-weight:bold;
}

/* filas tipo listado */
.fila{
	padding:10px;
	margin-bottom:8px;
	background:#fafafa;
	border-radius:8px;
	font-size:15px;
}

textarea{
    width: 100%;
    box-sizing: border-box;
    min-height: 60px;
    resize: none;        /* evita que el usuario lo rompa */
    overflow: hidden;    /* sin scroll */
    font-size: 16px;
    padding: 10px;
    margin-bottom: 10px;
	border-radius: 8px;
    border: 1px solid #ccc;
    background: #fafafa;
	transition: height 0.1s ease;
}

@media (min-width:768px){
	.card{
		max-width:700px;
	}
}

@media (min-width:1024px){
	.card{
		max-width:900px;
	}
}