form {
    display: flex;
    flex-direction: column;
}

form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

form input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

form button {
    padding: 10px;
    font-size: 14px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #0056b3;
}

/* Error Message Styling */
.error {
    margin-bottom: 15px;
    color: #d9534f;
    background-color: #f8d7da;
    padding: 10px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    font-size: 14px;
}

/* Referral Message */
.register-container p {
    font-size: 14px;
    color: #555;
    margin: 10px 0;
}

/* Links Styling */
.register-container a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.register-container a:hover {
    text-decoration: underline;
}

.password-container {
            position: relative;
        }
.toggle-password {
            position: relative;
            right: 0px;
            transform: translateY(-50%);
            cursor: pointer;
        }