/* forms */
input[type=text], input[type=email], textarea, select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=submit], button {
  width: 100%;
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}


/* comments */
/* Comments List */
div.comments-container ol {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Individual Comment */
.comment {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
}

/* Comment Author */
.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author img {
    border-radius: 50%;
    margin-right: 10px;
}

.comment-author-name {
    font-weight: bold;
    margin-right: 5px;
}

/* Comment Date */
.comment-date {
    color: #666;
    font-size: 0.9em;
}

/* Comment Content */
.comment-content {
    margin-top: 10px;
}

/* fix margin issue */
.article-content p, .article-content ul, .article-content ol, .article-content img, .article-content blockquote {
  display: block;
  margin-bottom: 10px;
}

/* tables */
table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 20px 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background-color: #4CAF50;
    color: white;
    font-weight: 600;
}

tr:nth-of-type(even) {
    background-color: #f8f9fa;
}

tr:hover {
    background-color: #e9f7fe;
}

td {
    color: #333;
}

caption {
    font-size: 1.2em;
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left;
}

/* Optional: Add a subtle transition effect on hover */
tr {
    transition: background-color 0.2s ease-in-out;
}
