body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #e0e0e0;
}
/* Adding link styles for dark theme */
a {
    color: #6da8ff;
    text-decoration: none;
}
a:hover {
    color: #8fc0ff;
    text-decoration: underline;
}
a:visited {
    color: #c792ea;
}
#app {
    width: 80%;
    max-width: 800px;
    margin: 4rem auto 2rem auto;
    padding: 1rem;
    background-color: #2c2c2c;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
footer {
    font-size: small;
    color: #999;
    text-align: center;
}
h1 {
    color: #bbb;
}
form {
    margin-bottom: 1rem;
}
textarea, input[type="text"], input[type="password"], input[type="email"] {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #555;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #333;
    color: #e0e0e0;
}
button {
    background-color: #3b8c3e;
    color: white;
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}
button:hover {
    background-color: #2d6c30;
}
.message {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 4px;
    background-color: #333;
}
.admin-message {
    background-color: #263844;
    border-left: 3px solid #1a73e8;
}
.user-message {
    background-color: #333;
}
.admin-badge {
    background-color: #1a73e8;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-right: 5px;
}
.timestamp {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.3rem;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}
th, td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #444;
}
th {
    background-color: #222;
}
/* 404 Error Page Styles */
.error-container {
    text-align: center;
    padding: 2rem 1rem;
}
.error-code {
    font-size: 6rem;
    font-weight: bold;
    color: #3b8c3e;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.error-container h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #bbb;
}
.error-container p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #999;
}
.error-actions {
    margin-top: 2rem;
}
.btn-primary {
    background-color: #3b8c3e;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
}
.btn-primary:hover {
    background-color: #2d6c30;
    text-decoration: none;
}

/* Recent Inquiries Styles */
.recent-inquiries {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #444;
}

.recent-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.recent-header h3 {
    margin: 0;
    color: #bbb;
}

.recent-header form {
    margin: 0;
}

.forget-button {
    background-color: #8c3b3b;
    color: white;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    margin-left: 1rem;
}

.forget-button:hover {
    background-color: #a04343;
}

.inquiry-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inquiry-list li {
    margin-bottom: 0.8rem;
}

.inquiry-list a {
    text-decoration: none;
}

.inquiry-list a:hover {
    text-decoration: none;
}

.inquiry-item {
    padding: 1rem;
    background-color: #333;
    border-radius: 4px;
    border-left: 3px solid #070;
}

/* Closed inquiry styling */
.inquiry-item.closed {
    filter: grayscale(70%);
    background-color: #2a2a2a;
}

.inquiry-item.closed:hover {
    background-color: #303030;
}

.inquiry-item:hover {
    background-color: #3a3a3a;
}

/* Unread inquiry styling */
.inquiry-item.unread {
    border-left: 3px solid #3b8c3e;
    background-color: #383f38;
}

.inquiry-item.unread:hover {
    background-color: #404a40;
}

.inquiry-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.inquiry-id {
    font-weight: bold;
    display: inline-block;
    margin-right: 0.5rem;
}

.inquiry-status {
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
}

.inquiry-status.open {
    background-color: #3b8c3e;
    color: white;
}

.inquiry-status.closed {
    background-color: #8c3b3b;
    color: white;
}

.unread-badge {
    margin-left: auto;
    background-color: #3b8c3e;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 140, 62, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(59, 140, 62, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 140, 62, 0);
    }
}

.inquiry-message {
    margin: 0.4rem 0;
    color: #bbb;
    font-size: 0.9rem;
} 

h2, h3 {
    padding-left: 1rem;
}