	main {
            padding: 0px 0px;
            max-width: 880px;
        }

.hashtag {
    position: relative;
    z-index: 1;
    display: inline-block;
    background: white; /* cellens bakgrund */
    padding: 3px 8px;
    border-radius: 12px;
}

       .hashtag:hover { background: #222;
              border: none;}

        .pagination a, .pagination span {
            background-color: #222;
            padding: 5px 10px;
            margin: 0 3px;
            text-decoration: none;
            border: 0px solid #ccc;
            color: #fff;
        }
        .pagination a:hover {
            border: none;
            background-color: #444;
        }
        .pagination .current-page {
            font-weight: bold;
            background-color: #444;
        }

a{ 
        color: #999;
        text-decoration: none;
        border-bottom: 1px dashed;
	}

a:hover { 
        color: #66CC00;
        border-bottom: 1px solid;
	}

a.no-underline {
    border: none !important;
}

/* emoji ikoner ----------------------------------------------------------------*/

	.emoji-btn {
	    background-color: #f0f0f0; /* ljusgrå bakgrund */
            font-size: 11px;
            padding: 4px 8px;          /* lite luft runt emojin */
            border-radius: 6px;        /* rundade hörn */
            border: none;              /* tar bort standardknappkanten */
            cursor: pointer;           /* pekare vid hover */
            display: inline-block;     /* gör så bakgrund funkar korrekt */
            text-decoration: none;     /* tar bort understrykning på länkar */
            font-size: 1em;            /* ser bra ut med emoji */
            line-height: 1;            /* centrera emojin */
            transition: background-color 0.3s ease;
        }
	.emoji-btn.show { 
            background-color: #28a745; 
            font-size: 11px; border: none;
        }
	.emoji-btn.edit { 
            background-color: #007bff;            
            font-size: 11px;     
            border: none;
        }
	.emoji-btn.reset { 
            background-color: #007bff;            
            font-size: 11px;     
            border: none;
        }
	.emoji-btn.delete { 
            background-color: #dc3545;             
            font-size: 11px;    
            border: none;
        }

        .emoji-btn.show:hover {             
            opacity: 0.9;
            color: #000;
            text-decoration: none; 
            border: none;    
            transition: background-color 0.3s ease; 
        }
        .emoji-btn.edit:hover { 
            opacity: 0.9;
            color: #000;
            text-decoration: none; 
            border: none;    
            transition: background-color 0.3s ease; 
        }
        .emoji-btn.reset:hover { 
            opacity: 0.9;
            color: #000;
            text-decoration: none; 
            border: none;    
            transition: background-color 0.3s ease;
        }
        .emoji-btn.delete:hover {             
            opacity: 0.9;
            color: #000;
            text-decoration: none; 
            border: none;    
            transition: background-color 0.3s ease; 
            } }

/* Nyhet länkar ----------------------------------------------------------------*/
        .install-link-actions {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }
.top-actions {
  display: flex;              /* Gör att elementen hamnar på samma rad */
  gap: 10px;                  /* Mellanrum mellan knapparna */
  align-items: center;        /* Vertikal centrering */
}

.top-actions form {
  margin: 0;                  /* Ta bort standardmarginal på formulär */
}

/* Olika noticer ----------------------------------------------------------------*/

         .notice {
            width: 90%;
            max-width: 600px;
            margin: 15px auto;
            padding: 10px;
            text-align: center;
            border-radius: 8px;
            font-weight: bold;
            font-family: Arial, sans-serif;
            font-size: 11px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.1);
         }
         .notice.success {
            background-color: #28a745; /* grön */
            border: 1px solid #1e7e34;
            color: #000;
         }
         .notice.error {
            background-color: #dc3545; /* röd */
            border: 1px solid #b21f2d;
            color: #000;
         }
         .notice.warning {
            background-color: #ff9800;   /* Orange bakgrund */
            border: 1px solid #e68900;   
            color: #000;
         }

         .notice.delete {
           background-color: #fff3cd;
           border: 1px solid #ffecb5;
           color: #856404;

         }

/* Knapp länkar  --------------------------------------------------------------------------------*/

         a.link-blue {
            margin-top: 15px;
            background-color: #007bff;
            color: #000!important;
            font-weight: bold;
            font-size: 11px !important;
            font-family: Arial, sans-serif;
            padding: 6px 12px;
            border: none;
            border-radius: 0;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
         }

         a.link-green {
            margin-top: 15px;
            background-color: #28a745;
            color: #000 !important;
            font-weight: bold;
            font-size: 11px !important;
            font-family: Arial, sans-serif;
            padding: 6px 12px;
            border: none!important;
            border-radius: 0;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            transition: background-color 0.3s ease;
         }

         a.link-red {
            margin-top: 15px;
            background-color: #dc3545;
            color: #000 !important;
            font-weight: bold;
            font-size: 11px !important;
            font-family: Arial, sans-serif;
            padding: 6px 12px;
            border: none!important;
            border-radius: 0;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            transition: background-color 0.3s ease;
         }
   
         a.link-blue:hover {
            opacity: 0.9;
            color: #000;
            text-decoration: none; 
            border: none;    
            transition: background-color 0.3s ease;
         }

        a.link-red:hover {
            opacity: 0.9;
            color: #000;
            text-decoration: none; 
            border: none;    
            transition: background-color 0.3s ease;
         }


         a.link-green:hover {
            opacity: 0.9;
            color: #000;
            text-decoration: none; 
            border: none;    
            transition: background-color 0.3s ease;
         }

.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 12px;
    font-size: 11px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
    color: #000 !important;
    transition: 0.3s;
    text-align: center;
}

.btn.blue { background-color: #007bff; }
.btn.red { background-color: #dc3545; }
.btn.green { background-color: #28a745; }

.btn:hover {
    opacity: 0.85;    border: none;
    text-decoration: none;
    color: #000 !important;
}

         button, input {
            background-color: #66CC00;
            color: #111; width: auto;
            font-weight: bold;
            font-size: 11px !important;
            font-family: Arial, sans-serif;
            padding: 6px 12px;
            border: none;
            border-radius: 0;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            transition: background-color 0.3s ease;
         }

         button:hover {
            opacity: 0.9;
         }
         .button-blue {
            background-color: #007bff;
         }
         .button-red {
            background-color: #dc3545;
         }
         .button-green {
            background-color: #28a745;
         }

         .button-yellow {
            background-color: #ff9800;
         }



/* button knappar blir vanliga länkar ------------------------------------------------------------*/

         .button-link,table#list a.button {
            background: none!important;
            border: none !important;
            color: #999 !important;
            font-size: 12px!important;
            font-family: Arial, sans-serif !important;
            text-decoration: none !important;
            cursor: pointer !important;
            border-bottom: 1px dashed #999 !important;
            padding: 0 !important;
            margin: 0 !important;
         }

         /* Hover-effekt */
         .button-link:hover,table#list a.button:hover {
            color: #66CC00 !important;
            border-bottom: 1px solid #66CC00 !important;
         }
/* Input, textarea, select style ------------------------------------------------------------*/

form input,
form textarea,
form select {
  max-width: 400px;      /* gemensam bredd */
  width: 100%;           /* fyller maxbredden */
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  margin: 5px 0 15px 0;
  border-radius: 6px;
  background-color: #444 !important;
  color: white;
  border: none;
  border-bottom: 2px solid #00ff00;
  box-sizing: border-box;
  opacity: 1;
}

/* Placeholder-färg för input och textarea */

/* Chrome, Edge, Safari */
input::placeholder,
textarea::placeholder {
  color: #999 !important;
  opacity: 1;
}

/* Firefox */
input::-moz-placeholder,
textarea::-moz-placeholder {
  color: #999 !important;
  opacity: 1;
}

/* Internet Explorer 10–11 */
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #999 !important;
  opacity: 1;
}

/* Microsoft Edge (äldre versioner) */
input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
  color: #999 !important;
  opacity: 1;
}

/* Webkit-baserade (extra säkerhet) */
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #999 !important;
  opacity: 1;
}

/* Autofyll-fix (Chrome/Edge) – håller färg och bakgrund konsekvent */
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #444 inset !important;
  -webkit-text-fill-color: white !important;
  transition: background-color 5000s ease-in-out 0s;
}


        /* News */

        /* Toppåtgärder (lägg till/redigera/visa raderade) */
        .top-actions {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        /* Nyhetsartikel-stil */
        .news-article {
            background: #333;
            padding: 20px;
            margin: 20px auto;
            width: 90%;
            max-width: 600px;
            text-align: left;
            border-radius: 6px;
        }

        /* Handling av åtgärder för nyheter (Ta bort/Redigera) */
        .news-actions {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }

        .news-actions form {
            margin: 0;
            display: inline;
        }

        article {
            width: 92%;
            max-width: 700px;
            background: #333;
            padding: 15px;
            margin: 1.5em auto;
            border-radius: 6px;
            border-left: 5px solid #c00;
            box-shadow: 0 0 5px rgba(0,0,0,0.3);
            text-align: left;
        }

        img.list-image {
            display: block;
            margin-bottom: 15px;
            max-width: 150px;
            border-radius: 6px;
            border: 1px solid #ccc;
        }

        article h2 { 
            margin-top: 0; 
            color: #ff4444; 
        }

        article small { 
            display: block; 
            color: #aaa; 
            margin-top: 8px; 
            font-size: 12px; 
         }

         .days-left { 
            font-weight: bold; 
            color: #f33; 
            margin-top: 8px; 
         }
        .profile-image { 
            width: 120px; 
            height: 120px; 
            border-radius: 50%; 
            object-fit: cover; 
            margin-bottom: 15px; 
        }
        #online-status { 
            margin-bottom: 15px; 
            font-weight: bold; 
        }
    .chat-notification, .message.success {
            width: 60%;
            max-width: 600px;
            margin: 20px auto;
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
            padding: 10px;
            text-align: center;
            border-radius: 6px;
            font-weight: bold;
            box-sizing: border-box;
        }

        .actions-container {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
        }
      
        #recent-active-banner {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            margin-top: 30px;
        }
        #recent-active-banner a {
            text-decoration: none;
            color: inherit;
            text-align: center;
        }
        #recent-active-banner img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #ccc;
        }
.form-remember {
  display: inline-flex;
  align-items: center;
  white-space: nowrap; /* 🔥 gör att texten inte bryts */
  gap: 4px;            /* litet avstånd mellan ruta och text */
  margin-top: 4px;
}

.form-remember input[type="checkbox"] {
  margin: 0;         /* tar bort extra marginaler */
  transform: scale(1.1); /* valfritt: gör rutan lite större */
}

.form-remember label {
  margin: 0;
  line-height: 1;
}




@media (max-width: 700px) {

      
  
