body {
    font-family: Arial, sans-serif;
    background-color: #032B44;
}

.container {
    max-width: 800px;
    margin: 25px auto;
    padding: 20px;
    background-color: #032B44;
    border: 1px solid #032B44;
    overflow: hidden;
}

fieldset {
    border: 1px solid #ccc;
    padding: 10px;
}

legend {
    padding: 0 5px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.col {
    flex-basis: 45%;
    margin: 10px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 13px;
}

input[type="text"], input[type="date"], input[type="email"], textarea {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    background-color: #fff;
    font-size: 12px;
}

input[type="number"] {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    background-color: #fff;
    font-size: 12px;
}

textarea {
    height: 30px;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    resize: vertical;
    background-color: #fff;
    font-size: 12px;
}

button[type="submit"], button[type="reset"], button[type="button"] {
    background-color: #fff;
    color: #032B44;
    padding: 5px 10px;
    border: 1px solid #032B44;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    margin-top: 10px;
}

button:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
}

.error-button {
    display: inline-block;
    color: red;
    font-size: 18px;
    margin-left: 10px;
    cursor: pointer;
}

.error-button:hover::after {
    display: block;
}

.contact-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-row label {
    margin-bottom: 0;
}

.contact-row select,
.contact-row input {
    margin-left: 10px;
}

label.required::before {
    content: " *";
    color: red;
    font-size: 20px;
}

.delete-contact {
    background-color: #FF5252;
    color: #fff;
    border: none;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
    margin-left: 10px;
}

.delete-contact:hover {
    background-color: #E64A19;
}

#bioDataDisplay {
    background-color: #F9F9F9;
    color: #032B44;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

#bioDataDisplay h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #FF5722; 
}

#bioDataDisplay .bio-section {
    background-color: #FFFFFF; 
    border: 1px solid #FFEB3B; 
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 10px;
}

#bioDataDisplay .bio-section h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #FF5722; 
}

#bioDataDisplay .bio-section p {
    font-size: 14px;
    color: #333;
}

.blurred-input {
    background-color: #9e9898;
    color: #9e9898;
    cursor: not-allowed;
}

error {
    border-color: red !important;
    background-color: #fdd !important;
}
input.invalid, textarea.invalid {
    border-color: red;
    background-color: #fdd;
}

input.valid, textarea.valid {
    border-color: green;
    background-color: #dff0d8;
}
