
body {
    font-family: Arial, sans-serif;
    background-color: rgb(225, 225, 225);
    margin: 0;
    padding: 0;
}

header.nagl-kom {
    background-color: rgb(199, 199, 199);
    padding: 20px;
    text-align: center;
}

header.nagl-kom h1 {
    margin: 0;
}

header.nagl-kom nav ul {
    list-style-type: none;
    padding: 0;
}

header.nagl-kom nav ul li {
    display: inline;
    margin: 0 10px;
}

header.nagl-kom nav ul li a {
    text-decoration: none;
    color: black;
}

.container-kom {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

article {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

header.nagl-artyk {
    background-color: rgb(131, 21, 21);
    color: white;
    padding: 10px;
    border-radius: 4px;
}

header.nagl-artyk h2 {
    margin: 0;
}

.comment-form {
    margin-top: 20px;
}

.comment-form h2 {
    margin-bottom: 10px;
}

.comment-form input[type="text"],
.comment-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.comment-form button {
    background-color: rgb(131, 21, 21);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.comment-form button:hover {
    background-color: rgb(110, 18, 18);
}

.comments {
    margin-top: 20px;
}

.comment-box {
    background-color: white;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.comment-header {
    /* Remove or comment out the following lines */
    /* display: flex;
    justify-content: space-between; */
    margin-bottom: 5px;
}

.comment-header strong {
    font-weight: bold;
    display: block; /* Make the username a block element */
}

.comment-header small {
    color: #888;
    display: block; /* Make the timestamp a block element */
}

/* OR, if you want username and timestamp on the same line but below the comment: */
.comment-header {
    margin-bottom: 5px;
}

.comment-header strong {
    font-weight: bold;
}

.comment-header small {
    color: #888;
    display: inline; /* Keep timestamp inline with username */
    margin-left: 10px; /* Add some space between username and timestamp */
}

footer {
    background-color: rgb(199, 199, 199);
    padding: 10px;
    text-align: center;
    margin-top: 20px;
}

footer p {
    margin: 0;
}

footer nav ul {
    list-style-type: none;
    padding: 0;
}

footer nav ul li {
    display: inline;
    margin: 0 10px;
}

footer nav ul li a {
    text-decoration: none;
    color: black;
}

/* Enhanced styling for verification badge and improved comments */
.verified-badge {
    display: inline-block;
    background: #4CAF50;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    margin-left: 8px;
    cursor: help;
    box-shadow: 0 1px 3px rgba(76, 175, 80, 0.3);
}

.comment-box {
    background: white;
    border-radius: 12px;
    padding: 18px;
    margin: 15px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-left: 4px solid #e0e0e0;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.comment-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.comment-header strong {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    display: inline;
}

.comment-header small {
    color: #666;
    font-size: 12px;
    margin-left: auto;
    display: inline;
}

.comment-form {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    border: 2px solid #e0e0e0;
}

.comment-form h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 22px;
}

.comment-form input,
.comment-form textarea {
    width: calc(100% - 24px);
    padding: 12px;
    margin: 8px 0;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #831515;
    box-shadow: 0 0 0 3px rgba(131, 21, 21, 0.1);
}

.comment-form textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.comment-form button {
    background: #831515;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form button:hover {
    background: #651111;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(131, 21, 21, 0.2);
}

/* Login status styling */
.login-status {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: 500;
}

.login-status.logged-in {
    background: #e8f5e8;
    border: 1px solid #4CAF50;
    color: #2e7d32;
}

.login-status.guest {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

/* Comments counter */
.comments h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.comments-count-badge {
    background: #831515;
    color: white;
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-left: 10px;
    font-weight: normal;
}
