/* styles.css */
body {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    text-align: center;
	/*background: url('http://monchatbot.ovh/monchatbot/imgs/flux.jpg') center center no-repeat;
	background-size: cover;
	overflow: hidden;*/
}

body.default {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
}

body.dark {
    background: #000;
    color: #fff;
}

body.light {
    background: #f4f4f4;
    color: #000;
}

h1 {
    font-size: 3em;
    margin: 20px 0;
    color: #00d4ff;
}

p {
    font-size: 1.2em;
    color: #c0c0c0;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    padding: 20px;
    scrollbar-width: thin;
    scrollbar-color: #00d4ff rgba(255, 255, 255, 0.1);
}

.container::-webkit-scrollbar {
    width: 8px;
    border-radius: 10px;
}

.container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.container::-webkit-scrollbar-thumb {
    background: #00d4ff;
    border-radius: 10px;
}

header {
    margin-bottom: 30px;
}

main {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background: rgba(0, 23, 50, 0.8);
}

footer {
    margin-top: 30px;
    font-size: 0.9em;
    color: #707070;
}

.interaction-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 20px auto;
    padding: 20px;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.interaction-form label {
    font-size: 1.2em;
    color: #fff;
}

.interaction-form textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    resize: none;
}

.interaction-form button {
    padding: 10px 20px;
    background: #00d4ff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s;
}

.interaction-form button:hover {
    background: #0097cc;
}

.interactions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px auto;
    max-width: 800px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    max-height: 60vh;
    scrollbar-width: thin;
    scrollbar-color: #00d4ff rgba(255, 255, 255, 0.1);
}

.interactions::-webkit-scrollbar {
    width: 8px;
    border-radius: 10px;
}

.interactions::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.interactions::-webkit-scrollbar-thumb {
    background: #00d4ff;
    border-radius: 10px;
}

.interaction {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
}

.interaction:last-child {
    border-bottom: none;
}

.interaction p {
    margin: 5px 0;
    font-size: 1em;
    line-height: 1.5em;
    color: #ddd;
}

.interaction strong {
    color: #00d4ff;
}

.timestamp {
    font-size: 0.8em;
    color: #aaa;
    text-align: right;
    margin-top: 10px;
}

.interaction p {
    margin: 10px 0;
    font-size: 1em;
    line-height: 1.5em;
    color: #ddd;
}

.interaction ul {
    margin: 10px 0;
    padding-left: 20px;
    list-style-type: disc;
    color: #ddd;
}

.interaction li {
    margin-bottom: 5px;
}

.interaction strong {
    color: #00d4ff;
    font-weight: bold;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.navbar .menu {
    display: flex;
    gap: 20px;
}

.navbar a {
    color: #00d4ff;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #0097cc;
}

.navbar .user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar .user-info span {
    color: #fff;
    font-weight: bold;
}

.form-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
}

.form-container {
	width: 45%;
}

hr {
	width: 100%;
	margin: 20px 0;
	border: none;
	border-top: 1px solid #ccc;
}

a {
    color: #00d4ff; /* Bleu clair pour les liens */
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s, text-shadow 0.3s;
}

a:hover {
    color: #00ffff; /* Cyan brillant au survol */
    text-shadow: 0 0 8px #00ffff; /* Lueur au survol */
}

a:active {
    color: #005f99; /* Bleu foncé pour l'état actif */
    text-shadow: none;
}

a:visited {
    color: #00b3cc; /* Bleu légèrement plus foncé pour les liens visités */
}

/* Overlay qui couvre l'écran */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none; /* Masqué par défaut */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Spinner de chargement */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #00d4ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animation de rotation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
