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

body {
    font-family: Arial, sans-serif;

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #f7f5ff;
}

.card {
    width: 420px;

    background: white;

    border-radius: 24px;

    padding: 35px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.08);

    text-align: center;
}

h2 {
    margin-bottom: 25px;
    color: #4b4b4b;
}

.roles {
    display: flex;
    justify-content: center;
    gap: 25px;

    margin-bottom: 20px;
}

.roles label {
    cursor: pointer;
}

input {
    width: 100%;

    padding: 14px;

    margin-top: 12px;

    border: 1px solid #ddd;

    border-radius: 12px;

    font-size: 15px;
}

input:focus {
    outline: none;
    border-color: #b9a8ff;
}

button {
    width: 100%;

    margin-top: 15px;

    padding: 14px;

    border: none;

    border-radius: 12px;

    background: #cfc3ff;

    cursor: pointer;

    font-size: 15px;

    transition: 0.2s;
}

button:hover {
    transform: translateY(-1px);
}

#full_name {
    margin-top: 20px;
    color: #6d5ed3;
}

#error,
#register_error {
    margin-top: 10px;
    color: #d9534f;
}

#register_success {
    margin-top: 10px;
    color: #4caf50;
}

#register_block {
    margin-top: 20px;
}

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

body {
font-family: Arial, sans-serif;


min-height: 100vh;

display: flex;
justify-content: center;
align-items: center;

background: #f7f5ff;
padding: 20px;


}

.card {
width: 420px;
max-width: 100%;


background: #ffffff;

border-radius: 24px;

padding: 35px;

box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

text-align: center;


}

h2 {
color: #4b4b4b;
margin-bottom: 25px;
}

h3 {
color: #6d5ed3;
margin-bottom: 15px;
}

.roles {
display: flex;
justify-content: center;
gap: 25px;


margin-bottom: 20px;


}

.roles label {
cursor: pointer;
font-size: 15px;
}

input {
width: 100%;


padding: 14px;

margin-top: 12px;

border: 1px solid #dddddd;

border-radius: 12px;

font-size: 15px;


}

input:focus {
outline: none;
border-color: #b9a8ff;
}

button {
width: 100%;


padding: 14px;

margin-top: 15px;

border: none;

border-radius: 12px;

background: #cfc3ff;

font-size: 15px;

cursor: pointer;

transition: 0.2s;


}

button:hover {
transform: translateY(-2px);
}

#error,
#register_error {
margin-top: 10px;
color: #d9534f;
font-size: 14px;
}

#register_success {
margin-top: 10px;
color: #4caf50;
font-size: 14px;
}

#register_block {
margin-top: 20px;
}

.auth-link {
margin-top: 20px;
font-size: 14px;
}

.auth-link button {
margin-top: 10px;
}


/* Registration ID check feedback */
.card #error.msg-error {
    color: #d9534f;
}

.card #error.msg-success {
    color: #4caf50;
}

#password_hint.password-hint {
    margin: 6px 0 0;
    color: #888;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
}

#password_hint.password-hint.password-hint-error {
    color: #d9534f;
}

#existing_account_block {
    margin-top: 12px;
}

#existing_account_block a {
    color: #6d5ed3;
}


.hidden {
    display: none !important;
}
