
body {
    background-color: #141414;  /* Couleur de fond sombre inspirée de Netflix */
    color: #e6e6e6;  /* Couleur claire pour le texte */
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #e50914;  /* Rouge Netflix */
    padding: 20px 0;
}

header .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

header .logo img {
    height: 75px;
}

nav {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul.nav-left {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul.nav-left li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s ease-in-out;
}

nav ul.nav-left li a:hover {
    color: #ccc;
}

nav .nav-right .btn {
    text-decoration: none;
    background-color: #fff;
    color: #e50914;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

nav .nav-right .btn:hover {
    background-color: #e50914;
    color: #fff;
}

main {
    background-color: #141414;  /* Fond sombre */
    padding: 40px 0;
}

.messagerie-section {
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    background-color: #333;  /* Fond clair sur fond sombre */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.messagerie-section h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: #e50914;
    margin-bottom: 20px;
}

.conversation-box {
    max-height: 400px;
    overflow-y: auto;
    background-color: #222;  /* Fond sombre pour la boîte de conversation */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.message {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    max-width: 80%;
    word-wrap: break-word;
}

.message.received {
    background-color: #00000065;
    align-self: flex-start;
}

.message.sent {
    background-color: #e50914;
    color: white;
    align-self: flex-end;
}

.message-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.message-form textarea {
    width: 100%;
    max-width: 600px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #444;
    font-size: 16px;
    margin-bottom: 15px;
    resize: none;
    background-color: #222;  /* Fond sombre pour le textarea */
    color: #fff;
}

.message-form button {
    background-color: #e50914;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
}

.message-form button:hover {
    background-color: #b50710;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    margin-top: auto;
}

footer p {
    margin: 0;
}
.signup-section {
    background-color: #141414;
    padding: 50px 0;
}

.form-container {
    background-color: #333;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
}

p {
    color: #e6e6e6;
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
}

.conversation-box {
    margin-bottom: 30px;
}

.message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 16px;
}

.message.received {
    background-color: #444;
    color: #fff;
}

.message.sent {
    background-color: #e50914;
    color: #fff;
    text-align: right;
}

.message strong {
    color: #ffffff;
}

.message-form {
    margin-top: 20px;
}

.message-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #444;
    font-size: 16px;
    color: #fff;
    background-color: #222;
}

.message-form button {
    width: 100%;
    padding: 12px;
    background-color: #e50914;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.message-form button:hover {
    background-color: #b50710;
}


footer {
    background-color: #222;
    padding: 20px;
    text-align: center;
    color: #fff;
    font-size: 14px;
}
