@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');



body {
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at top, #111 0%, #000 70%);
    color: #eee;
    font-family: 'Inter', sans-serif;
}


.container {
    width: 100%;
    max-width: 380px;
    margin: 120px auto;
    padding: 40px 30px;
    background: rgba(20, 20, 20, 0.85);
    border-radius: 14px;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
    text-align: center;
}

.logo {
    width: 220px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 10px;
    background: linear-gradient(135deg, #222, #333);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #777;
}

input[type=text],
input[type=password] {
    width: 92%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #333;
    border-radius: 8px;
    background: #111;
    color: #eee;
    font-size: 15px;
    transition: 0.2s;
}

input:focus {
    outline: none;
    border-color: #666;
    background: #181818;
}

button {
    width: 95%;
    padding: 12px;
    margin-top: 15px;
    background: #0b84ff;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: #0a74dd;
}

a {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
}

a:hover {
    color: #fff;
}

.error {
    margin-top: 12px;
    color: #ff5757;
}

.message {
    margin-top: 12px;
    color: #14d964;
}

.home-container {
    width: 100%;
    max-width: 900px;
    margin: 80px auto;
    padding: 30px;
}

.home-box {
    background: rgba(20,20,20,0.85);
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 0 25px rgba(0,0,0,0.45);
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100vh;
    background: #111;
    padding-top: 40px;
    box-shadow: 3px 0 10px rgba(0,0,0,0.5);
}

.sidebar a {
    display: block;
    padding: 15px 20px;
    color: #ccc;
    text-decoration: none;
    font-size: 16px;
    border-left: 4px solid transparent;
    transition: 0.2s;
}

.sidebar a:hover {
    background: #1b1b1b;
    color: #fff;
    border-left: 4px solid #0b84ff;
}

.content {
    margin-left: 240px;
    padding: 40px;
}

.sidebar .logo {
    width: 180px;
    height: 70px;
    margin: 0 auto 30px;
    padding: 10px;
    background: #1a1a1a;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 0 8px rgba(0,0,0,0.6);
}

.input-full {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: #111;
    color: #eee;
    margin-bottom: 10px;
}

.filtro-input {
    width: 60%;
    padding: 12px 14px;
    margin: 20px 0 30px;
    border-radius: 10px;
    border: 1px solid #333;
    background: #111;
    color: #eee;
    font-size: 16px;
}

.modello-card {
    display: flex;
    align-items: center;
    background: #151515;
    padding: 18px;
    margin-bottom: 15px;
    border-radius: 14px;
    cursor: pointer;
    transition: 0.25s;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.modello-card:hover {
    background: #1d1d1d;
    transform: scale(1.01);
}

.modello-img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 20px;
}

.modello-info h3 {
    margin: 0;
    font-size: 20px;
    color: #fff;
}

.modello-info p {
    margin: 5px 0 0;
    font-size: 15px;
    color: #bbb;
}

.colore-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #151515;
    padding: 18px;
    margin-bottom: 12px;
    border-radius: 14px;
    cursor: pointer;
    transition: 0.25s;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.colore-card:hover {
    background: #1d1d1d;
    transform: scale(1.01);
}

.selected-card {
    border: 2px solid #0b84ff;
    background: #1d1d1d !important;
}

.colore-info h3 {
    margin: 0;
    font-size: 18px;
    color: #fff;
}

.colore-info p {
    margin: 3px 0 0;
    font-size: 14px;
    color: #bbb;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #0b84ff;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #096fde;
}

.select-container select {
    width: 60%;
    padding: 12px;
    background: #111;
    border: 1px solid #333;
    border-radius: 10px;
    color: #eee;
    font-size: 16px;
}

.select-container.small select {
    width: 100%;
    font-size: 14px;
}

.incisione-box {
    background: #151515;
    padding: 18px;
    border-radius: 14px;
    margin-bottom: 18px;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
  
}

.incisione-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    background: #111;
    color: #eee;
    border: 1px solid #333;
    border-radius: 10px;
}

.incisione-box label input {
    display: inline-block;
    vertical-align: middle;
	  transform: translateY(4px);  /* allineamento verticale perfetto */
}

.incisione-box label {
    display: inline-flex;
    align-items: center;
	white-space:nowrap;
    gap: 6px;
}

.note-box {
    width: 100%;
    height: 120px;
    padding: 12px;
    background: #111;
    border: 1px solid #333;
    border-radius: 10px;
    color: #eee;
    resize: vertical;
}

.file-input {
    color: #ccc;
}

.riepilogo-box {
    background: #151515;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 0 12px rgba(0,0,0,0.3);
    margin-bottom: 30px;
    font-size: 16px;
}

.riepilogo-box h3 {
    margin-top: 15px;
    color: #fff;
}

.riepilogo-box p {
    color: #ccc;
    margin: 6px 0;
}

.modello-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.modello-row {
    border-bottom: 1px solid #222;
	cursor: pointer;
    padding: 10px 0;
    cursor: pointer;
    transition: 0.2s;
}

.modello-row:hover {
    background: #1b1b1b;
}

.img-cell {
    width: 80px;
    padding: 10px;
}

.modello-img-table {
    width: 70px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
}

.info-cell {
    padding: 10px;
}

.modello-nome {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
}

.modello-misure {
    font-size: 14px;
    color: #aaa;
    margin-top: 4px;
}

.modello-row:hover .modello-nome {
    color: #0b84ff;
}

[onclick] {
    cursor: pointer;
}

.progress-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    padding: 10px 0;
}

.progress-step {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    color: #666;
    border-bottom: 2px solid #333;
    font-size: 14px;
}

.progress-step.done {
    color: #0b84ff;
    border-bottom: 2px solid #0b84ff;
    font-weight: 600;
}

.btn-back-global {
    display: inline-block;
    margin-bottom: 15px;
    padding: 6px 12px;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s;
}

.btn-back-global:hover {
    background: #1c1c1c;
    color: #fff;
    border-color: #555;
}


.color-label {
    display: block;
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 15px;
    color: #ccc;
}

.color-select {
    width: 50%;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 10px;
    background: #111;
    color: #eee;
    font-size: 15px;
    transition: 0.2s;
}

.color-select:hover {
    border-color: #555;
}

.color-select:focus {
    outline: none;
    background: #181818;
    border-color: #0b84ff;
}


.logo-sidebar {
    width: 180px;          /* più stretto per la sidebar */
    height: 60px;          /* proporzionato */
    margin: 0 auto 30px;
    border-radius: 10px;
    background: linear-gradient(135deg, #222, #333);  /* identico al login */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #777;
    box-shadow: 0 0 8px rgba(0,0,0,0.6);
}
