/* Register Page Scoped Styles — Light & Clean */
.register-page {
    background: #f9f9f9;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    box-sizing: border-box;
}

.register-page .register-card {
    font-family: 'Poppins', sans-serif;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    padding: 50px 40px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.register-page .register-card .card-header h1 {
    font-size: 34px;
    font-weight: 700;
    color: #111;
    text-align: center;
    margin-bottom: 12px;
}

.register-page .register-card .card-header p.description {
    text-align: center;
    color: #555;
    margin-bottom: 35px;
    font-size: 15px;
}

.register-page .register-card .register-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.register-page .register-card .register-form .input-group {
    position: relative;
}

.register-page .register-card .register-form .input-group label {
    display: block;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-bottom: 6px;
}

.register-page .register-card .register-form .input-group input {
    width: 100%;
    padding: 16px 14px;
    border-radius: 10px;
    border: 2px solid #999;
    background: #ffffff;
    color: #111;
    font-size: 16px;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.08);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.register-page .register-card .register-form .input-group input::placeholder {
    color: #666;
}

.register-page .register-card .register-form .input-group input:focus {
    border-color: #1976d2;
    box-shadow: 0 0 6px rgba(25, 118, 210, 0.3);
}

.register-page .register-card .register-form .input-group input.error {
    border-color: #d32f2f;
    box-shadow: 0 0 6px rgba(211, 47, 47, 0.2);
}

/* INLINE ICON + TOOLTIP ERRORS */
.register-page .register-card .register-form .input-group .error-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #d32f2f;
    font-size: 18px;
    cursor: help;
}

.register-page .register-card .register-form .input-group .error-icon .tooltip-msg {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffe6e6;
    color: #d32f2f;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 10;
}

.register-page .register-card .register-form .input-group .error-icon:hover .tooltip-msg {
    opacity: 1;
    visibility: visible;
}

/* REGISTER BUTTON */
.register-page .register-card .register-form button {
    padding: 14px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.register-page .register-card .register-form button:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* CARD FOOTER */
.register-page .register-card .register-form .card-footer {
    margin-top: 35px;
    text-align: center;
    color: #555;
    font-size: 14px;
}

.register-page .register-card .register-form .card-footer a {
    color: #1976d2;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.register-page .register-card .register-form .card-footer a:hover {
    color: #0d47a1;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .register-page .register-card {
        padding: 40px 25px;
    }

    .register-page .register-card .card-header h1 {
        font-size: 28px;
    }

    .register-page .register-card .register-form {
        gap: 20px;
    }

    .register-page .register-card .register-form .input-group .error-icon {
        font-size: 16px;
    }

    .register-page .register-card .register-form .input-group .error-icon .tooltip-msg {
        font-size: 11px;
        right: 28px;
    }
}