:root {
    --hemotec-red: #e02020;
    --hemotec-dark-red: #c01010;
    --hemotec-light-red: #ff4040;
    --hemotec-bg-light: #f8f9fa;
    --hemotec-text-dark: #333333;
    --hemotec-accent: #0066cc;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.register-container {
    background-color: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    /* Aumentado para acomodar mais campos */
    width: 100%;
    text-align: center;
}

.register-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--hemotec-red);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.form-control {
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    border: 1px solid #ced4da;
    margin-bottom: 1.5rem;
}

.form-control:focus {
    border-color: var(--hemotec-red);
    box-shadow: 0 0 0 0.25rem rgba(224, 32, 32, 0.25);
}

.btn-register {
    background-color: var(--hemotec-red);
    border-color: var(--hemotec-red);
    color: white;
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.btn-register:hover,
.btn-register:focus {
    color: white;
    background-color: var(--hemotec-dark-red);
    border-color: var(--hemotec-dark-red);
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.logo-register {
    height: 80px;
    margin-bottom: 2rem;
}

.back-arrow {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    color: var(--hemotec-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-arrow:hover {
    color: var(--hemotec-dark-red);
    transform: translateX(-5px);
}

.login-link {
    margin-top: 1rem;
    display: block;
    color: #c01010;
    text-decoration: none;
    font-weight: 500;
}

.login-link:hover {
    text-decoration: underline;
}

.btn-outline-danger {
    border-radius: 50px;
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-small {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    width: 70%;
}

.btn-sml {
    padding: 0.9rem 1.0rem;
    font-size: 0.95rem;
    width: 50%;
}

/* Estilos para o botão de mostrar/ocultar senha (olhinho) */
.input-group .btn-toggle-password {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    border-left: none;
    padding: 0 0.9rem;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hemotec-red);
    background: transparent;
    border: 1px solid #ced4da;
    transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.input-group .btn-toggle-password i {
    font-size: 1rem;
}

.input-group .btn-toggle-password:hover {
    background: rgba(224, 32, 32, 0.06);
    color: var(--hemotec-dark-red);
    transform: translateY(-1px);
}

.input-group .btn-toggle-password:active {
    transform: translateY(0);
}

/* Ajuste quando o input estiver com foco para destacar o botão */
.form-control:focus+.btn-toggle-password,
.btn-toggle-password:focus {
    box-shadow: 0 0 0 0.15rem rgba(224, 32, 32, 0.12);
    outline: none;
}

/* Remove o ícone nativo de mostrar/ocultar senha do navegador */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

input[type="password"]::-webkit-password-toggle {
    display: none;
}

/* Para Edge e outros navegadores baseados em Chromium */
input[type="password"]::-webkit-credentials-auto-fill-button {
    display: none !important;
}

/* Garante que apenas nosso botão personalizado seja exibido */
.input-group input[type="password"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}