
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
  
     max-width: 800px;
    margin: 0 auto 40px;
}

h1 {
    font-size: 2.5em;
    color: #495057;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}
header section{text-align:left}
form {
    max-width: 800px;
    margin: 0 auto 40px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1em;
}

textarea {
    height: 120px;
    resize: vertical;
}

button {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1em;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #0056b3;
}

#messages {
    max-width: 800px;
    margin: 0 auto;
}

.message {
    background: white;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    animation: fadeIn 0.5s ease-in-out;
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: bold;
    color: #495057;
}

.message-content {
    font-size: 1.1em;
    color: #212529;
}
.message-content .content{
    background-color: #efefef;
    border-radius: 8px;
     box-shadow: 0 2px 8px rgba(0.5,0,0,0.5);padding:10px;

    
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
