body {
    font-family: Arial, sans-serif;
    color: white;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    direction: rtl;
    text-align: center;
}

.header {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 8px;
}

.welcome-text {
    color: red;
    font-size: 24px;
    margin: 0 0 10px;
}

.user-info {
    color: #020000;
    align-items: center;
    gap: 10px;
}

.logout-btn {
    background-color: red;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

.logout-btn:hover {
    background-color: darkred;
}

.logout-btn.loading .btn-text {
    visibility: hidden;
}

.logout-btn.loading .loader {
    display: block;
}

.content {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
}

.loading,.loader {
    display: none;
    width: 100px;
    height: 100px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid red;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 2rem;
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
    z-index: 1000;
    animation: slideIn 0.3s ease-out, fadeOut 0.3s ease-out 2.7s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification.success {
    background-color: #28a745;
}

.notification.error {
    background-color: #dc3545;
}

.notification.warning {
    background-color: #ffc107;
    color: #000;
}

.notification.info {
    background-color: #17a2b8;
}
