.edit{
	margin-top:20px;
	width: 400px;
	padding: 12px;
	background: #ddd;
	border: 2px solid black;
	border-radius: 10px;
	box-shadow:
		0 2px 6px rgba(0,0,0,.25),
		0 4px 12px rgba(0,0,0,.15);
}

.edit .row{
	display: flex;
	align-items: center;
	margin-bottom: 6px;
}

.form-check-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}





.edit label{
	display: inline-block;
	width: 90px;
	text-align: right;
	margin-right: 8px;
	font-weight: bold;
}
.edit testarea{
	flex: 1;
	padding: 3px;
	border: 1px solid #555;
	border-radius: 3px;
	margin-bottom: 6px;
	width: 80%;
}
.edit input{
	flex: 1;
	padding: 3px;
	border: 1px solid #555;
	border-radius: 3px;
	margin-bottom: 6px;
}
.edit select{
	flex: 1;
	padding: 3px;
	border: 1px solid #555;
	border-radius: 3px;
	margin-bottom: 6px;
}
.edit input[type="text"],
.edit input:not([type]){
	width: 240px;
}
.edit button{
	  margin-left: 0;           /* Remove the old left margin */
    margin: 10px auto;        /* Center horizontally + some top spacing */
    display: block;           /* Makes margin auto work */
    padding: 8px 24px;        /* Slightly better padding */
    border-radius: 12px;
    background: #AAC2DF;
    border: 2px solid #555;
    cursor: pointer;
}
.edit button:hover{
	background: white;
	font-weight:700;
}

.form-buttons{
	text-align: center;
	margin-top: 10px;
}
#msg {
	display: none;
	padding: 10px;
	margin: 10px 0;
	color: green;
	font-weight: 700;
	border: 0px;
	background: #DDDDDD !important;
}
#msg.success {
    color: green;
}

/* Error Message (Red) */
#msg.error {
    color: red;
}

form{
	border: 0px dashed red !important;
}

.editWrap{
    display:flex;
    align-items:flex-start;
    gap:20px;
    border: 2px dashed red !important;
}

.photoBlock{
    flex:0 0 auto;  
}

.formPanel{
    flex:1;
}

@media (max-width:700px){
    .editWrap{
        flex-direction:column;
    }
}
