* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    color: #333;
    line-height: 1.6;
}

.header {
    background: linear-gradient(to bottom, hsl(225, 60%, 50%), hsl(225, 67%, 40%));
    padding: 15px 20px;
    border-bottom: 3px solid #ff9900;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header h3 {
    color: white;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 10px;
    display: inline-block;
    margin-right: 30px;
}

.header a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    margin-right: 20px;
    padding: 8px 15px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.header a:hover {
    background-color: rgba(255,255,255,0.4);
    text-decoration: underline;
}

.main-content {
    min-height: 70vh;
    padding: 30px 20px;
    background-color: white;
    margin: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

footer {
    background: linear-gradient(to bottom, #666666, #444444);
    color: white;
    padding: 25px 20px;
    border-top: 3px solid #ff9900;
    margin-top: 30px;
}

footer div {
    max-width: 1200px;
    margin: 0 auto;
}

footer strong {
    font-size: 22px;
    color: #ff9900;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    display: block;
    margin-bottom: 15px;
}

footer a {
    color: #cccccc;
    text-decoration: none;
    margin-right: 25px;
    font-size: 15px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    transition: all 0.3s ease;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="url"],
input[type="search"],
textarea,
select {
    font-family: Arial, sans-serif;
    font-size: 14px;
    padding: 8px 12px;
    border: 2px solid #3366cc;
    border-radius: 5px;
    background: linear-gradient(to bottom, #f8f8f8, #e8e8e8);
    color: #333;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 1px 1px 3px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 300px;
    margin-bottom: 15px;
}

input[type="date"] {
    position: relative;
    min-height: 36px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

input[type="date"] {
    background: linear-gradient(to bottom, #f8f8f8, #e8e8e8) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="%233366cc"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/></svg>') no-repeat right 10px center;
    background-size: 16px;
    padding-right: 35px;
}

input[type="time"] {
    background: linear-gradient(to bottom, #f8f8f8, #e8e8e8) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="%233366cc"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"/></svg>') no-repeat right 10px center;
    background-size: 16px;
    padding-right: 35px;
}

input[type="datetime-local"] {
    background: linear-gradient(to bottom, #f8f8f8, #e8e8e8) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="%233366cc"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/></svg>') no-repeat right 10px center;
    background-size: 16px;
    padding-right: 35px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    border-color: #ff9900;
    background: linear-gradient(to bottom, #ffffff, #f0f0f0);
    box-shadow: 0 0 8px rgba(255, 153, 0, 0.5), inset 1px 1px 3px rgba(0,0,0,0.1);
}

input[type="range"] {
    width: 100%;
    max-width: 300px;
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to bottom, #e8e8e8, #d8d8d8);
    outline: none;
    margin-bottom: 15px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #3366cc, #2244aa);
    border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #3366cc, #2244aa);
    border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    cursor: pointer;
}

input[type="color"] {
    width: 50px;
    height: 36px;
    border: 2px solid #3366cc;
    border-radius: 5px;
    background: linear-gradient(to bottom, #f8f8f8, #e8e8e8);
    cursor: pointer;
    margin-bottom: 15px;
}

input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 3px;
}

input[type="color"]::-moz-color-swatch {
    border: none;
    border-radius: 3px;
}

input[type="file"] {
    width: 100%;
    max-width: 300px;
    padding: 8px 12px;
    border: 2px dashed #3366cc;
    border-radius: 5px;
    background: linear-gradient(to bottom, #f8f8f8, #e8e8e8);
    color: #333;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="file"]:hover {
    border-color: #ff9900;
    background: linear-gradient(to bottom, #ffffff, #f0f0f0);
}

input[type="file"]::file-selector-button {
    background: linear-gradient(to bottom, #3366cc, #2244aa);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    margin-right: 10px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 12px;
    border: 1px solid #1a3366;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

input[type="file"]::file-selector-button:hover {
    background: linear-gradient(to bottom, #4488ee, #3366cc);
}

textarea {
    min-height: 100px;
    resize: vertical;
    font-family: Arial, sans-serif;
    line-height: 1.4;
}

select {
    background: linear-gradient(to bottom, #f8f8f8, #e8e8e8) url('data:image/svg+xml;utf8,<svg fill="%233366cc" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px center;
    background-size: 16px;
    padding-right: 35px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

input[type="submit"],
input[type="button"],
input[type="reset"],
button {
    background: linear-gradient(to bottom, #3366cc, #2244aa);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid #1a3366;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    margin-right: 10px;
    margin-bottom: 10px;
    transition: 0.2s ease-in-out;
}

.white-btn {
    background: linear-gradient(to bottom, hsl(216, 0%, 100%), hsl(220, 0%, 90%));
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover {
    background: linear-gradient(to bottom, #4488ee, #3366cc);
    box-shadow: 0 3px 8px rgba(0,0,0,0.4);
    transform: translateY(-1px);
}

.white-btn:hover {
    background: linear-gradient(to bottom, hsl(216, 0%, 100%), hsl(220, 0%, 90%));
    box-shadow: 0 3px 8px rgba(0,0,0,0.4);
    transform: translateY(-1px);
}

input[type="submit"]:active,
input[type="button"]:active,
button:active {
    background: linear-gradient(to bottom, #2244aa, #112288);
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
    transform: translateY(1px);
}

.login-icon {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.671);
    background-color: #ffffff;
}

input[type="reset"],
button[type="reset"] {
    background: linear-gradient(to bottom, #666666, #444444);
    border: 1px solid #333333;
}

input[type="reset"]:hover,
button[type="reset"]:hover {
    background: linear-gradient(to bottom, #777777, #555555);
}

input[type="checkbox"],
input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.2);
    accent-color: #3366cc;
}

.form-group {
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(to bottom, #f5f5f5, #e5e5e5);
    border: 1px solid #cccccc;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #3366cc;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.8);
}

fieldset {
    border: 2px solid #3366cc;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9);
}

legend {
    font-weight: bold;
    color: #3366cc;
    padding: 0 10px;
    background: linear-gradient(to bottom, #f0f0f0, #e0e0e0);
    border: 1px solid #cccccc;
    border-radius: 5px;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.8);
}

::placeholder {
    color: #888888;
    font-style: italic;
}

input:disabled,
textarea:disabled,
select:disabled {
    background: linear-gradient(to bottom, #eeeeee, #dddddd);
    border-color: #cccccc;
    color: #888888;
    cursor: not-allowed;
}

.error {
    color: #cc0000;
    font-size: 12px;
    font-weight: bold;
    margin-top: -10px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.8);
}

input.error-field,
textarea.error-field,
select.error-field {
    border-color: #cc0000;
    background: linear-gradient(to bottom, #ffeeee, #ffdddd);
}

/**/

.left-aligned {
  align-items: center;
  text-align: left;
}

.red {
  color: red
}

.gray {
  color: gray
}

.form{
    background-color: #FFFFFF;
    max-width: 600px;
    min-width: 340px;
    margin: auto;
    padding: 25px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.black-href{
  color: hsl(225, 60%, 50%);
  text-decoration-color: hsl(225, 60%, 50%);
}