	/* --------------------------------------------------------------
   GÄSTEBUCH – FRONTEND BASISLAYOUT
   -------------------------------------------------------------- */

.gastbuch-wrapper {
    max-width: 700px;
    margin: 40px auto;
    padding: 20px;
    font-family: 'Cormorant Garamond', serif;
    color: #333;
}



/* --------------------------------------------------------------
   FORMULAR-TOGGLE (Elegante Version)
   -------------------------------------------------------------- */

.gastbuch-toggle-container {
    text-align: right;
    margin-bottom: 10px;
}

.gastbuch-toggle-link {
    padding: 10px 18px;
    background: transparent;
    color: #333;
    border: 1px solid #999;
    border-radius: 4px;
    font-size: 18px;
    font-family: 'Cormorant Garamond', serif;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.gastbuch-toggle-links									:hover {
    background: #f5f5f5;
    border-color: #666;
}

/* Formular Animation */
#gastbuch-form-wrapper {
    max-height: 2000px;
    opacity: 1;
    transform: scale(1);
    transition:
        max-height 0.5s ease,
        opacity 0.4s ease,
        transform 0.4s ease;
}

#gastbuch-form-wrapper {
    display: block;
}

#gastbuch-form-wrapper.closed {
    display: none !important;
}



/* --------------------------------------------------------------
   FORMULAR (Elegante Version)
   -------------------------------------------------------------- */

#gastbuch-form-wrapper form {
    background: #fafafa;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    border: 1px solid #eee;
}

.gastbuch-field {
    margin-bottom: 20px;
}

.gastbuch-field label {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
}

.gastbuch-field input,
.gastbuch-field textarea,
.gastbuch-field select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 17px;
    border-radius: 4px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.gastbuch-field input:focus,
.gastbuch-field textarea:focus,
.gastbuch-field select:focus {
    border-color: #999;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
    outline: none;
}

/* --------------------------------------------------------------
   DSGVO-Checkbox
   -------------------------------------------------------------- */

.gastbuch-dsgvo input[type="checkbox"] {
    all: revert;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
}

/* --------------------------------------------------------------
   ABSENDEN-BUTTON (Elegant)
   -------------------------------------------------------------- */

button[type="submit"] {
    padding: 12px 20px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-family: 'Cormorant Garamond', serif;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

button[type="submit"]:hover {
    background: #555;
    transform: translateY(-1px);
}



/* --------------------------------------------------------------
   EINTRÄGE (Elegante Version)
   -------------------------------------------------------------- */

.gastbuch-entry {
    padding: 25px;
    margin: 30px 0;
    border-left: 3px solid #333;
    border-bottom: 1px solid #eee;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-radius: 4px;

    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gastbuch-entry p {
    line-height: 1.7;
    font-size: 18px;
    letter-spacing: 0.3px;
}

.gastbuch-entry small {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    color: #777;
}

.gb-rating-inline {
    margin-top: 4px;
    font-size: 20px;
    color: #c9a227;
}

.gastbuch-meta {
    font-size: 17px;
    margin-bottom: 8px;
    color: #444;
}



/* --------------------------------------------------------------
   ADMIN-ANTWORT (Frontend)
   -------------------------------------------------------------- */

.gastbuch-reply {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(to right, #f5f5f5, #ffffff);
    border: 1px solid #ddd;
    border-left: 5px solid #333;
    font-size: 17px;
    color: #222;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.gastbuch-reply strong {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #000;
}



/* --------------------------------------------------------------
   NUMMERIERUNG (Frontend)
   -------------------------------------------------------------- */

.gastbuch-number {
    font-size: 20px;
    font-weight: 600;
    color: #444;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}



/* --------------------------------------------------------------
   PAGINATION (Frontend)
   -------------------------------------------------------------- */

.gastbuch-pagination {
    text-align: center;
    margin: 30px 0;
}

.gb-page-number,
.gb-page-link {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    border: 1px solid #ccc;
    background: #fafafa;
    color: #333;
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    transition: all 0.2s ease;
}

.gb-page-number.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

.gb-page-number:hover,
.gb-page-link:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}

.gastbuch-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 18px;
    color: #444;
    flex-wrap: wrap;
}

.gastbuch-header .gb-number {
    font-weight: 600;
    color: #333;
    min-width: 40px;
    text-align: right;
}

.gastbuch-header .gb-separator {
    color: #aaa;
    font-weight: 400;
}

.gastbuch-header .gb-meta {
    font-weight: 400;
    flex: 1;
}
