/* ===== Base ===== */
* {
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}
.black-strip {
    display:block;
    background-color: black;
    height: 30px;
    width: 100%;
  }
body {
    
    background: #80daea;
    margin: 0;
    padding: 20px;
}

/* ===== Form ===== */
form {
    max-width: 1100px;
    margin: auto;
}

/* ===== Fieldset & Legend ===== */
fieldset {
    background: #80daea;
    /*background: powderblue;*/
    border: 0px solid #5aa9c9;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

legend {
    font-size: 26px;
    font-weight: 700;
    color: #0b4f6c;
    padding: 0 15px;
}

/* ===== Labels ===== */
label {
    font-weight: 600;
    font-size: 15px;
    color: #063547;
    margin-bottom: 6px;
    display: inline-block;
}

label span {
    color: red;
}

/* ===== Inputs & Selects ===== */
input[type="text"],
input[type="date"],
input[type="email"],
select {
    width: 100%;
    padding: 10px 12px;
    margin: 6px 10px 14px 0;
    border-radius: 6px;
    border: 1px solid #5aa9c9;
    font-size: 16px;
    font-weight: 600;
    background: #ffffff;
}

input::placeholder {
    font-weight: 500;
}

/* ===== Layout Helpers ===== */
.item {
    margin-bottom: 18px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.name-item {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.name-item>div {
    flex: 1;
    min-width: 200px;
}

/* ===== Buttons ===== */
button {
    background: linear-gradient(135deg, #0077b6, #0096c7);
    color: #fff;
    border: none;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: linear-gradient(135deg, #0096c7, #00b4d8);
    transform: translateY(-1px);
}

/* Submit button */
.btn-block {
    text-align: center;
}

#submit {
    font-size: 18px;
    padding: 12px 40px;
    background: linear-gradient(135deg, #2a9d8f, #1b7f72);
}

#submit:hover {
    background: linear-gradient(135deg, #1b7f72, #166f63);
}

/* ===== Image Upload ===== */
#frame {
    display: inline-block;
    padding: 10px 16px;
    margin: 10px 0;
    border: 2px dashed #0077b6;
    border-radius: 10px;
    color: #0077b6;
    font-weight: 600;
    cursor: pointer;
    background: #e0f4ff;
}

#frame:hover {
    background: #cdefff;
}

#preview {
    margin-top: 10px;
    border-radius: 10px;
    object-fit: cover;
}

/* ===== Top Navigation (optional styling) ===== */
.topnav {
    background: #023e8a;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.topnav a {
    float: left;
    color: #fff;
    padding: 14px 18px;
    text-decoration: none;
    font-weight: 600;
}

.topnav a:hover {
    background: #0077b6;
}

.topnav .active {
    background: #00b4d8;
}


input[type="number"] {
  width: 100%; /* Make the input take the full width */
  padding: 12px 20px; /* Add some padding */
  margin: 8px 0; /* Add some margin */
  display: inline-block;
  border: 0px solid #ccc; /* Set a border color */
  border-radius: 4px; /* Round the corners */
  box-sizing: border-box; /* Ensure padding/border doesn't affect width */
  font-size: 17px; /* Set font size */
}

/* Style the input when it is in focus */
input[type="number"]:focus {
  border-color: #4CAF50;
  outline: none; /* Remove the default outline */
}