/* Stili generali */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#wrapper {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.panel {
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
}

.panel-header img {
    max-width: 100px;
    margin-bottom: 10px;
}

.panel-header h3 {
    margin: 0;
    color: #333;
}

.panel-header span {
    color: #666;
    font-size: 14px;
}

.panel-content {
    margin-top: 20px;
}

.errore {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}

.form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input {
    width: 100%;
    margin-bottom: 15px;
    position: relative;
}

.input input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.input label {
    position: absolute;
    top: -10px;
    left: 10px;
    background: #fff;
    font-size: 12px;
    padding: 0 5px;
    color: #666;
}

#input-send {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

button.full-width.ok {
    width: 100%;
    padding: 10px;
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

button.full-width.ok:hover {
    background: #0056b3;
}

.loading-new {
    display: none;
    width: 20px;
    margin-left: 10px;
}

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

a:hover {
    text-decoration: underline;
}

/* Bootstrap Integration */
.container {
    max-width: 400px;
    margin: auto;
}

.form-control {
    border-radius: 5px;
    font-size: 16px;
}

.btn-primary {
    width: 100%;
    font-size: 16px;
}

.text-center {
    text-align: center;
}

.alert-danger {
    font-size: 14px;
}

/* Media Query per Tablet */
@media (min-width: 820px) {
    #wrapper {
        max-width: 650px;
    }
    
    .panel {
        padding: 35px;
    }
    
    .panel-header img {
        max-width: 130px;
    }
    
    .input input {
        font-size: 19px;
        padding: 14px;
    }
    
    button.full-width.ok {
        font-size: 19px;
        padding: 14px;
    }
}
