/* General styles */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

.navbar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    align-items: center;
    padding: 0px  0px;
    background-color: #f8f9fa;
}

.logo img {
    height: 50px;
}

.user-info .user-button {
    background-color: #333;
    color: #fff;
    height: 50px;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
}

.side-navigation {
    width: 65px;
    background-color: #000000;
}

.side-navigation ul {
    list-style-type: none;
    padding: 10px;
    margin: 0;
}

.side-navigation li {    
    padding: 5px;
    text-align: center;
}

.side-navigation a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5em;
}

.main-content {
    display: flex;
    flex: 1;
}

#content {
    flex: 1;
    padding: 20px;
}

.nav-item {
    margin-bottom: 10px;
}

.nav-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.nav-icon {
    width: 24px;
    height: 24px;
    padding: 15px;
}

.nav-item.active a {
    background-color: white;
}

.nav-item.active .nav-icon {
    filter: brightness(0);
}



/* Notification CSS */
.notification {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1500;
    min-width: 300px;
    max-width: 400px;
}

.notification-content {
    background-color: #fff;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification.success .notification-content {
    border-left: 4px solid #28a745;
}

.notification.error .notification-content {
    border-left: 4px solid #dc3545;
}

.notification-message {
    color: #333;
    font-size: 14px;
}

.notification-close {
    background: none;
    border: none;
    color: #666;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
}

.notification-close:hover {
    color: #333;
}
/* Animation classes */
.notification-slide-in {
    animation: slideIn 0.2s ease-out forwards;
}

.notification-slide-out {
    animation: slideOut 0.2s ease-out forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Dashboard Title */

.current-dashboard {
    background-color: #f8f9fa;
    padding: 10px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.change-dashboard {
    color: #4a90e2;
    text-decoration: none;
    font-size: 0.9em;
}


.black-modal-button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 20px;
    cursor: pointer;
}

.token-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.token-group input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
    font-family: monospace;
}

.copy-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #666;
}

.copy-button:hover {
    color: #333;
}

.button-group {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.revoke-button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.revoke-button:hover {
    background-color: #c82333;
}

.cancel-button {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.cancel-button:hover {
    background-color: #5a6268;
}

.warning-text {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.warning-text i {
    color: #856404;
    font-size: 20px;
}

.modal-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    color: #333;
}



