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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #eef2f7;
    color: #1e2a3a;
    min-height: 100vh;
    padding-bottom: 60px;
}

#container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

#login{
    width: 500px;
}

h1 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1e2a3a;
    margin: 30px 0 10px;
}

h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e2a3a;
    margin-bottom: 16px;
}

h6 {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #7a8fa6;
    margin-bottom: 12px;
}

form {
    background-color: #ffffff;
    border: 1px solid #dce4ef;
    padding: 36px 32px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(30, 42, 58, 0.08);
    min-height: 420px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

form:hover {
    box-shadow: 0 8px 32px rgba(30, 42, 58, 0.13);
    transform: translateY(-2px);
}

label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #7a8fa6;
    margin-bottom: 6px;
    margin-top: 14px;
}

input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #dce4ef;
    border-radius: 8px;
    background-color: #f6f9fc;
    color: #1e2a3a;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

input:hover {
    border-color: #b0c0d4;
    background-color: #ffffff;
}

input:focus {
    border-color: #3a7bd5;
    box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.15);
    background-color: #ffffff;
}

input[type="submit"] {
    width: auto;
    margin-top: 20px;
    padding: 11px 30px;
    background-color: #3a7bd5;
    color: #ffffff;
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(58, 123, 213, 0.3);
    transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

input[type="submit"]:hover {
    background-color: #2d63b8;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(58, 123, 213, 0.4);
}

button {
    border-radius: 8px;
    padding: 9px 20px;
    border: 1px solid #dce4ef;
    background-color: #ffffff;
    color: #1e2a3a;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    min-width: 100px;
    min-height: 36px;
    cursor: pointer;
    transition: all 0.2s ease;
}

button:hover {
    transform: translateY(-2px);
    border-color: #b0c0d4;
    background-color: #f0f5ff;
    box-shadow: 0 4px 14px rgba(30, 42, 58, 0.1);
    color: #3a7bd5;
}

.admin {
    border: 1px solid #dce4ef;
    border-radius: 12px;
    background-color: #f6f9fc;
    width: 420px;
    padding: 16px 20px 20px;
    margin: 10px 0;
    text-align: center;
}

.bloki {
    height: 100px;
    width: 110px;
    margin: 8px;
    border-radius: 12px;
    border: 1px solid #dce4ef;
    background-color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e2a3a;
    box-shadow: 0 2px 8px rgba(30, 42, 58, 0.06);
    transition: all 0.25s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: unset;
    min-height: unset;
}

.bloki:hover {
    background-color: #eef5ff;
    border-color: #3a7bd5;
    color: #3a7bd5;
    box-shadow: 0 6px 20px rgba(58, 123, 213, 0.15);
    transform: translateY(-3px);
}

article {
    background-color: #ffffff;
    border: 1px solid #dce4ef;
    padding: 20px 24px;
    margin: 10px 0;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(30, 42, 58, 0.06);
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

article:hover {
    box-shadow: 0 6px 24px rgba(30, 42, 58, 0.11);
    transform: translateY(-2px);
}

article h2 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

article .article-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

article a:first-of-type button {
    background-color: #eef5ff;
    border-color: #b0c8f0;
    color: #3a7bd5;
    min-width: 80px;
    padding: 7px 14px;
    font-size: 0.8rem;
}

article a:first-of-type button:hover {
    background-color: #3a7bd5;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(58, 123, 213, 0.3);
}

article a:last-of-type button {
    background-color: #fff0f0;
    border-color: #f0b0b0;
    color: #c0392b;
    min-width: 80px;
    padding: 7px 14px;
    font-size: 0.8rem;
}

article a:last-of-type button:hover {
    background-color: #c0392b;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(192, 57, 43, 0.3);
}

a {
    text-decoration: none;
}

p {
    padding: 8px 0;
    font-size: 0.95rem;
}

footer {
    background-color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid #dce4ef;
    color: #7a8fa6;
    text-align: right;
    position: fixed;
    width: 100%;
    bottom: 0;
    font-size: 0.8rem;
}

footer p {
    padding: 10px 20px;
}

section{
    width: 50%;
    float: left;
}

footer{
    clear: both;
}