* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    max-width: 480px;
    margin: 0 auto;
    background: #f5f5f5;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

.nav {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 480px;
    height: 25vh;
    min-height: 140px;
    background: #306692;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 15px;
}

.nav-title {
    color: white;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    padding: 0 15px;
    line-height: 1.3;
}

.back-arrow {
    position: absolute;
    left: 15px;
    top: 15px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.back-arrow:active {
    background-color: rgba(255,255,255,0.2);
    transform: scale(0.9);
}

.back-arrow::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 15px;
    height: 15px;
    border-left: 3px solid white;
    border-top: 3px solid white;
    transform: translateY(-50%) rotate(-45deg);
}

.container {
    margin-top: 25vh;
    padding: 35px 20px;
    background: white;
    min-height: 75vh;
    border-radius: 25px 25px 0 0;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.08);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input {
    width: 100%;
    height: 48px;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #e0e0e0;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    background-color: white;
}

button {
    background: #306692;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    height: 48px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

button:active {
    transform: scale(0.96);
    background: #2a5a7f;
}

.links {
    margin-top: 15px;
    text-align: center;
}

a {
    color: #306692;
    font-size: 16px;
    text-decoration: none;
    padding: 8px;
    display: inline-block;
}

a:active {
    transform: scale(0.95);
}