.usuario-mensaje {
    display: block;
    background-color: #fffae6;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 12px 15px;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
}
.usuario-form {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    max-width: 320px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-family: Arial, sans-serif;
}

.usuario-form img {
    display: block;
    width: 60px;
    margin: 0 auto 15px;
    opacity: 0.8;
}

.usuario-form label {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
}

.usuario-form input,
.usuario-form textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 15px;
    transition: border-color 0.2s ease;
}

.usuario-form input:focus,
.usuario-form textarea:focus {
    border-color: #007bff;
    outline: none;
}

.usuario-form textarea {
    resize: vertical;
    min-height: 60px;
}

.usuario-form button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.usuario-form button:hover {
    background-color: #0056b3;
}

.groupbox {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 12px 15px;
    margin: 20px 0;
    position: relative;
    background-color: #fafafa;
}
.groupbox legend {
    font-weight: bold;
    padding: 0 8px;
    background: #fafafa;
    position: absolute;
    top: -12px;
    left: 10px;
    font-size: 14px;
    color: #333;
    
    display: inline-block; /* opcional, para que solo ocupe el ancho del texto */
    width: auto;           /* opcional, anula width:100% de Bootstrap */
    margin-bottom: auto;
    
}

.groupbox-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}
.groupbox-row label {
    flex: 1;
    font-weight: normal;
}
.groupbox-row input {
    flex: 1;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
}