/*
Theme Name: Simple Bootstrap Theme
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: A simple WordPress theme using Bootstrap 5 with a navbar and dummy menu.
Version: 1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: simple-bootstrap-theme
*/

/* Styling untuk Area Komentar */
.comments-area {
    margin-top: 30px;
    border-radius: 0.25rem; /* Sesuai dengan card Bootstrap */
    box-shadow: 0 0 1px rgba(0,0,0,.125),0 1px 3px rgba(0,0,0,.2); /* Sesuai dengan card Bootstrap */
}

.comments-area .card-header {
    background-color: #f8f9fa; /* Warna header card yang lebih lembut */
    border-bottom: 1px solid rgba(0,0,0,.125);
}

.comments-title,
.comment-reply-title {
    font-size: 1.25rem; /* Ukuran font yang sedikit lebih besar untuk judul */
    margin-bottom: 0; /* Hapus margin bawah default dari h2/h3 di dalam card-title */
}

.comments-area .card-body {
    padding: 1.25rem; /* Padding standar card-body */
}

/* Daftar Komentar */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list li.comment {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.comment-list li.comment:last-child {
    border-bottom: none;
}

.comment-list .comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.comment-list .comment-author .avatar {
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid #ddd; /* Border untuk avatar */
}

.comment-list .fn { /* Nama Author */
    font-weight: bold;
    font-size: 1rem;
    color: #333;
}

.comment-list .fn a {
    text-decoration: none;
    color: inherit;
}
.comment-list .fn a:hover {
    text-decoration: underline;
}

.comment-list .says {
    margin-left: 5px;
    font-size: 0.9em;
    color: #777;
}

.comment-metadata {
    font-size: 0.85em;
    color: #888;
    margin-bottom: 10px;
}
.comment-metadata a {
    color: #555;
    text-decoration: none;
}
.comment-metadata a:hover {
    text-decoration: underline;
}

.comment-content {
    line-height: 1.6;
    color: #444;
}
.comment-content p {
    margin-bottom: 0.5em;
}

.reply {
    margin-top: 10px;
}

.reply .comment-reply-link {
    font-size: 0.9em;
    padding: 5px 10px;
    background-color: #007bff; /* Warna primer Bootstrap */
    color: white;
    text-decoration: none;
    border-radius: 0.2rem;
    transition: background-color 0.3s ease;
}

.reply .comment-reply-link:hover {
    background-color: #0056b3; /* Warna primer Bootstrap lebih gelap saat hover */
}

/* Navigasi Komentar */
.comment-navigation .nav-previous,
.comment-navigation .nav-next {
    padding: 8px 12px;
    background-color: #e9ecef;
    border-radius: 0.2rem;
    text-decoration: none;
    color: #333;
}
.comment-navigation .nav-previous:hover,
.comment-navigation .nav-next:hover {
    background-color: #ced4da;
}


/* Form Komentar */
.comment-form-wrapper {
    background-color: #f8f9fa; /* Latar belakang yang sedikit berbeda untuk footer form */
    border-top: 1px solid rgba(0,0,0,.125);
}

.comment-form label {
    display: block;
    margin-bottom: .25rem;
    font-weight: 500;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: .375rem .75rem; /* Padding form-control Bootstrap */
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0,123,255,.25);
}

.comment-form .form-submit {
    margin-top: 1rem;
    text-align: right; /* Tombol submit ke kanan */
}

.comment-form .btn-primary { /* Styling untuk tombol submit */
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    padding: .5rem 1rem;
    font-size: 1rem;
    border-radius: .25rem;
    cursor: pointer;
}

.comment-form .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0052cc;
}

.comment-notes.alert-secondary { /* Styling untuk catatan email */
    font-size: 0.875em;
    padding: 0.5rem 0.75rem;
    margin-bottom: 1rem;
}

.logged-in-as {
    font-size: 0.9em;
    margin-bottom: 1rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid #bee5eb; /* Sesuai alert-info */
    background-color: #d1ecf1; /* Sesuai alert-info */
    color: #0c5460; /* Sesuai alert-info */
    border-radius: .25rem;
}
.logged-in-as a {
    color: #0c5460;
    font-weight: bold;
    text-decoration: underline;
}

/* Responsif */
@media (max-width: 768px) {
    .comment-author {
        flex-direction: column;
        align-items: flex-start;
    }
    .comment-author .avatar {
        margin-bottom: 10px;
    }
}

