body {
    font-family: Arial, sans-serif;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
}

header .logo img {
    max-width: 75px;
    margin-right: 15px;
    border-radius: 50px;
}

header .registration a {
    display: inline-block;
    padding: 10px;
    background-color: white;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    box-shadow: 0 4px 12px #0066cc;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-left: 5px;
    margin-right: 5px;
}

header .registration a:hover {
    background-color: #0066cc;
    color: white;
    transform: scale(1.1);
}

main {
    flex: 1 0 auto;
}

.container {
    max-width: 400px;
    margin: 40px auto;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.container h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 24px;
}

.container input[type="text"],
.container input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin: 12px 0;
    border: 1.8px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.container input[type="text"]:focus,
.container input[type="password"]:focus {
    border-color: #2c3e50;
    outline: none;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.3);
}

.btn {
    width: 100%;
    padding: 12px 0;
    margin-top: 18px;
    background-color: #2c3e50;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px #0066cc;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    background-color: #0066cc;
}

footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    font-size: 0.9em;
    padding: 15px 30px;
}

.styled-link {
    color: red;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.styled-link:hover, 
.styled-link:focus {
    color: darkred;
    text-decoration: underline;
    cursor: pointer;
}