*{
box-sizing:border-box;
margin:0;
padding:0;
font-family:Tahoma;
}

body{
background:linear-gradient(135deg,#eef4fb,#dfe9f7);
padding:20px;
color:#1455a0;
}

.container{
max-width:760px;
margin:auto;
background:#fff;
border-radius:25px;
padding:28px;
box-shadow:0 15px 40px rgba(0,0,0,0.1);
}

h1{
margin-bottom:25px;
font-size:28px;
text-align:right;
color:#1455a0;
font-weight:800;
}

.form-grid{
display:grid;
grid-template-columns:1fr;
gap:18px;
}

.field{
display:flex;
flex-direction:column;
text-align:right;
}

.field label{
margin-bottom:8px;
font-weight:700;
font-size:16px;
color:#1455a0;
}

.field input{
width:100%;
height:52px;
min-height:52px;
padding:0 14px;
border-radius:12px;
border:1px solid #cfd8e6;
font-size:17px;
font-weight:600;
background:#fff;
color:#1455a0;
outline:none;
}

.field input:focus{
border-color:#1455a0;
box-shadow:0 0 0 3px rgba(20,85,160,0.15);
background:#fff;
}

.field input::placeholder{
color:#9aa9bd;
font-size:15px;
font-weight:400;
}

.money-input{
background:#fff !important;
font-weight:700 !important;
font-size:18px !important;
color:#1455a0 !important;
}

.money-input:focus{
background:#fff !important;
border-color:#1455a0 !important;
box-shadow:0 0 0 3px rgba(20,85,160,0.15) !important;
}

.base-rate-input{
background:#fff8d6 !important;
border-color:#facc15 !important;
color:#713f12 !important;
}

.base-rate-input:focus{
background:#fff8d6 !important;
border-color:#eab308 !important;
box-shadow:0 0 0 3px rgba(250,204,21,0.25) !important;
}

.alert{
margin-bottom:15px;
padding:12px;
border-radius:12px;
font-weight:bold;
text-align:center;
}

.success{
background:#dcfce7;
color:#166534;
}

.error{
background:#fee2e2;
color:#991b1b;
}

.actions{
margin-top:25px;
display:flex;
flex-direction:column;
gap:12px;
}

.btn{
width:100%;
padding:13px 28px;
border:none;
border-radius:12px;
font-size:16px;
cursor:pointer;
font-weight:bold;
text-decoration:none;
display:inline-flex;
align-items:center;
justify-content:center;
}

.save{
background:#2d7fe0;
color:#fff;
}

.back{
background:#d8e0ea;
color:#1455a0;
}

.btn:hover{
opacity:.9;
}

@media (max-width:700px){

body{
padding:12px;
}

.container{
padding:20px;
border-radius:20px;
}

h1{
font-size:24px;
}

.form-grid{
gap:16px;
}

.field input{
height:50px;
min-height:50px;
font-size:16px;
padding:0 12px;
}

.money-input{
font-size:17px !important;
}
}