body {
    background: linear-gradient(120deg, #f6fafd 0%, #e9f2ff 100%);
    color: #23272f;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}
.container {
    max-width: 900px;
    margin: 40px auto 0 auto;
    padding: 0 18px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 32px 0 rgba(0, 87, 183, 0.10), 0 2px 8px 0 rgba(0,128,0,0.07);
    min-height: 80vh;
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0 18px 0;
    border-bottom: 1.5px solid #e3f6ff;
    position: relative;
    margin-bottom: 32px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 54px;
    height: 54px;
    transition: transform 0.3s cubic-bezier(.4,2,.6,1);
}
.logo:hover {
    transform: scale(1.08) rotate(-4deg);
}
.site-title {
    font-size: 1.35em;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #0057b7;
    margin-left: 8px;
}
.main-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1.08em;
    font-weight: 500;
}
.main-menu li a {
    text-decoration: none;
    color: #23272f;
    padding: 8px 18px;
    border-radius: 7px;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    position: relative;
}
.main-menu li a:hover, .main-menu li a.active {
    background: linear-gradient(90deg, #0057b7 0%, #00bfff 100%);
    color: #fff;
    box-shadow: 0 2px 8px 0 rgba(0,87,183,0.10);
}
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 38px;
    height: 38px;
    cursor: pointer;
    margin-left: 10px;
}
.burger span {
    height: 4px;
    width: 100%;
    background: #0057b7;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s;
}
.offcanvas {
    z-index: 1060 !important;
}
.navbar-toggler {
    z-index: 1040;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,87,183,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (max-width: 768px) {
    .navbar-toggler {
        margin-left: auto !important;
        margin-right: 0 !important;
        position: absolute;
        right: 0;
        top: 12px;
        z-index: 1051;
    }
    .navbar-nav {
        background: #fff;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 32px 0 rgba(0,87,183,0.10);
        padding: 8px 0;
    }
    form input[type="text"],
    form input[type="email"],
    form input[type="password"],
    form textarea {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
}
footer {
    border-top: none;
    margin-top: 40px;
    padding: 18px 0 8px 0;
    text-align: center;
    font-size: 1em;
    color: #555;
    background: none;
}
.error-msg, .success-msg {
    border-radius: 8px;
    box-shadow: 0 1px 6px 0 rgba(0,87,183,0.07);
    font-size: 1.05em;
    animation: fadeIn 0.7s cubic-bezier(.4,2,.6,1);
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: none; }
}
form {
    margin-top: 18px;
    margin-bottom: 24px;
    animation: fadeIn 0.7s cubic-bezier(.4,2,.6,1);
}
form input[type="text"],
form input[type="email"],
form input[type="password"],
form textarea {
    width: 270px;
    max-width: 100%;
    padding: 8px 10px;
    border: 1.5px solid #b3d8ff;
    border-radius: 7px;
    font-size: 1.07em;
    margin-bottom: 8px;
    background: #fafdff;
    transition: border 0.18s, box-shadow 0.18s;
    box-shadow: 0 1px 4px 0 rgba(0,87,183,0.04);
}
form input:focus, form textarea:focus {
    border: 1.5px solid #0057b7;
    outline: none;
    box-shadow: 0 2px 8px 0 rgba(0,87,183,0.10);
}
form textarea {
    height: 90px;
}
form button, form input[type="submit"] {
    background: linear-gradient(90deg, #0057b7 0%, #00bfff 100%);
    color: #fff;
    border: none;
    padding: 9px 26px;
    border-radius: 8px;
    font-size: 1.07em;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 1px 4px 0 rgba(0,87,183,0.07);
    transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
}
form button:hover, form input[type="submit"]:hover {
    background: linear-gradient(90deg, #00bfff 0%, #0057b7 100%);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 16px 0 rgba(0,87,183,0.13);
}
.terms-box {
    background: #f4faff;
    border: 1.5px solid #b3d8ff;
    padding: 16px 22px;
    margin-bottom: 22px;
    border-radius: 8px;
    font-size: 1.01em;
    box-shadow: 0 1px 4px 0 rgba(0,87,183,0.04);
} 