/* Guestbook Styles */

.guestbook-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.guestbook-tabs .tab-button {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    transition: all 0.3s;
}

.guestbook-tabs .tab-button:hover {
    color: #333;
}

.guestbook-tabs .tab-button.active {
    color: #000;
    border-bottom-color: #007bff;
    font-weight: bold;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.guestbook-entries {
    margin-top: 2rem;
}

.guestbook-entry {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-left: 4px solid #007bff;
    border-radius: 4px;
}

.guestbook-entry .entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.guestbook-entry .entry-header strong {
    font-size: 1.1rem;
    color: #333;
}

.guestbook-entry .entry-date {
    font-size: 0.9rem;
    color: #666;
}

.guestbook-entry .entry-message {
    line-height: 1.6;
    color: #555;
}

.guestbook-entry .entry-message p {
    margin: 0.5rem 0;
}

.guestbook-entry .entry-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.like-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f5f5f5;
    border: 1px solid #1a3a5f;
    border-radius: 20px;
    text-decoration: none;
    color: #1a3a5f;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
}

.like-button:hover {
    background: #1a3a5f;
    color: #ffffff;
    border-color: #1a3a5f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(26, 58, 95, 0.2);
}

.like-button.liked {
    background: linear-gradient(135deg, #6b3fa0 0%, #8b5fc0 100%);
    border-color: #6b3fa0;
    color: #ffffff;
}

.like-button.liked:hover {
    background: linear-gradient(135deg, #8b5fc0 0%, #6b3fa0 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(107, 63, 160, 0.3);
}

.like-button i {
    font-size: 1rem;
}

.admin-reply {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f5f5f5;
    border-left: 4px solid #6b3fa0;
    border-radius: 4px;
}

.admin-reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.admin-reply-header strong {
    color: #6b3fa0;
    font-size: 0.95rem;
}

.admin-reply-date {
    font-size: 0.85rem;
    color: #666;
}

.admin-reply-message {
    color: #333;
    line-height: 1.6;
}

.messages-tab-intro {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f9f9f9;
    border-left: 4px solid #007bff;
    border-radius: 4px;
}

.rgpd-checkbox {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.rgpd-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.rgpd-checkbox input[type="checkbox"] {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.rgpd-text {
    display: block;
    margin-top: 0.5rem;
    margin-left: 1.75rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #555;
}

.form-submit-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.form-submit-row .antispam-field {
    flex: 1;
    min-width: 200px;
}

.form-submit-row .button {
    margin-top: 0;
}

@media (max-width: 768px) {
    .form-submit-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-submit-row .antispam-field {
        width: 100%;
    }
}
