        /* Specific styles for Registration page to align with auth.css structure */
        body {
            background: #f8f9fa;

            direction: rtl;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .auth-form-container {
            padding: 30px; /* Consistent padding */
        }

        .form-title {
            margin-bottom: 10px;
            text-align: center;
            font-size: 2em;
        }

        .form-subtitle {
            margin-bottom: 25px;
            color: #666;
            font-size: 0.95em;
            text-align: center;
        }

        .form-group {
            margin-bottom: 15px;
            text-align: right;
        }

        label {
            display: block;
            margin-bottom: 5px;
            font-weight: 600;
        }

        .form-control {
            width: 100%;
            padding: 10px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            box-sizing: border-box;
        }

        .btn-block {
            width: 100%;
            padding: 12px 0;
            margin-top: 25px; /* Spacing before button */
            font-size: 1.1em;
            font-weight: bold;
            border-radius: 5px;
            transition: background-color 0.3s ease;
        }

        .btn-primary {
            background-color: #007bff;
            color: white;
            border: none;
        }

        .btn-primary:hover:not(:disabled) {
            background-color: #0056b3;
        }
        .btn-primary:disabled {
            background-color: #6c757d;
            cursor: not-allowed;
        }

        .auth-divider {
            margin: 25px 0; /* Consistent with other auth pages */
        }

        .auth-footer {
            margin-top: 25px;
            text-align: center;
        }
        .auth-footer a {
            color: #007bff;
            text-decoration: none;
            font-weight: 600;
        }
        .auth-footer a:hover {
            text-decoration: underline;
        }

        .back {
            color: #007bff;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            margin-bottom: 15px; /* Spacing for the back link */
            text-decoration: none;
        }

        .back i {
            margin-right: 8px; /* For RTL, icon to the right of text */
            font-size: 1.1rem;
        }
        .back:hover {
            text-decoration: underline;
        }

        /* Message box styling (error/success) */
        .message-box {
            margin-top: 15px;
            padding: 12px;
            border-radius: 6px;
            font-weight: 600;
            display: none; /* Hidden by default */
            text-align: center; /* Center messages */
            font-size: 0.95em;
        }
        .message-box.error {
            background-color: #f8d7da;
            color: #842029;
            border: 1px solid #f5c2c7;
        }
        .message-box.success {
            background-color: #d1e7dd;
            color: #0f5132;
            border: 1px solid #badbcc;
        }
        .form-text.text-muted { /* Style for small helper text */
            font-size: 0.85em;
            color: #6c757d !important;
            margin-top: 5px;
            display: block;
            text-align: right;
        }
        .login-link {
    display: inline-block;
    margin-top: 10px;
    color: #007bff;
    text-decoration: underline;
}
