
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    background: #f5f7fb;
    color: #1f2937;
    font-family: Arial, "Malgun Gothic", sans-serif;
}

.register-card {
    width: 100%;
    max-width: 460px;
    padding: 36px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, .06);
}

.register-logo {
    display: block;
    margin-bottom: 24px;
    color: #2563eb;
    text-align: center;
    font-size: 23px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
}

h1 {
    margin: 0 0 8px;
    text-align: center;
    font-size: 27px;
}

.subtitle {
    margin: 0 0 28px;
    color: #6b7280;
    text-align: center;
    font-size: 14px;
}

.field {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 600;
}

input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    font-size: 14px;
    color: #1f2937;
    background: #fff;
}

input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

input[type="file"] {
    height: auto;
    padding: 8px;
}

input[type="file"]::file-selector-button {
    margin-right: 8px;
    padding: 6px 10px;
    border: 0;
    border-radius: 5px;
    background: #eff6ff;
    color: #1d4ed8;
    cursor: pointer;
}

.field-guide {
    margin: 6px 0 0;
    color: #9ca3af;
    font-size: 12px;
}

.submit-btn {
    width: 100%;
    height: 47px;
    margin-top: 6px;
    border: 0;
    border-radius: 7px;
    background: #2563eb;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.submit-btn:hover {
    background: #1d4ed8;
}

.error {
    margin-bottom: 18px;
    padding: 12px;
    border-radius: 7px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 13px;
    line-height: 1.5;
}

.login-link {
    margin-top: 22px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.login-link a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    body {
        padding: 16px;
    }

    .register-card {
        padding: 26px 20px;
    }
}
