* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', Serif;
}

body {
    background: linear-gradient(to bottom, #f0eeeb, #FDFBD4); 
    color: #edf2ff;
    min-height: 100vh;
}

body.theme-light {
    background: #f4f7fb;
    color: #122033;
}

body.theme-light .card,
body.theme-light .stat-card,
body.theme-light .laporan-card {
    background: #ffffff;
    color: #122033;
}

body.theme-light .nav {
    background: #eef4ff;
}

body.theme-light .form-group input,
body.theme-light .form-group select,
body.theme-light .form-group textarea {
    background: #ffffff;
    color: #122033;
}

.form-group input:disabled {
    background: #eee !important;
    color: #555 !important;
    -webkit-text-fill-color: #555;
    opacity: 1;
}

.background-color {
    background-color: #800000;
}

header {
    background: linear-gradient(to bottom, #800000, #701c1c  );
    color: #fff;
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

header h1 {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-brand img {
    height: 40px;
    width: auto;
    display: block;
}

header a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.nav {
    background: linear-gradient(to bottom, #800000, #701c1c  );
    padding: 14px 30px;
    display: flex;
    gap: 20px;
}

.nav a {
    color: #faf6f6;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 5px;
    transition: background 0.2s;
}

.nav a:hover {
    background: #320202;
}

.nav a:first-child {
    margin-left: 0;
}

.nav .nav-right {
    margin-left: auto;
}

.container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
}

.card {
    background: #ffffff;
    color: #070707;
    border-radius: 10px;
    padding: 25px 30px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.card h2 {
    margin-bottom: 18px;
    font-size: 20px;
    color: #070707;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-bottom: 25px;
}

.stat-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 22px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.25);
    border-top: 4px solid #800000;
}

.stat-card.dilapor {
    border-top-color: #800000;
}

.stat-card.proses {
    border-top-color: #800000;
}

.stat-card.selesai {
    border-top-color: #800000;
}

.stat-card .angka {
    color: #070707;
    font-size: 38px;
    font-weight: 700;
    margin: 6px 0;
}

.stat-card .label {
    color: #000000;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

table th {
    background: #f5f7fb;
    text-align: left;
    padding: 12px 10px;
    font-weight: 600;
    border-bottom: 2px solid #d5dde8;
    color: #070707;
}

table td {
    padding: 11px 10px;
    border-bottom: 1px solid #dfe6ef;
    vertical-align: top;
    color: #070707;
}

table tr:hover {
    background: #eef3fb;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-scroll table {
    min-width: 650px;
}

body {
    overflow-x: hidden;
}

.status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status.dilapor {
    background: #fef3cd;
    color: #856404;
}

.status.dalam_proses {
    background: #cce5ff;
    color: #004085;
}

.status.selesai {
    background: #d4edda;
    color: #155724;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;

    background: white;
    padding: 20px;
    border-radius: 18px;
}

.btn {
    display: inline-block;
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px) scale(1.03);
}

.btn:active {
    transform: translateY(0px) scale(0.98);
}

/* Shine sweep, always animating gently */
.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-20deg);
    animation: shine 3.5s infinite;
}

@keyframes shine {
    0% { left: -75%; }
    40% { left: 130%; }
    100% { left: 130%; }
}

/* Ripple effect on click */
.btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 100%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn:active::after {
    width: 250px;
    height: 250px;
    transition: 0s;
}

.btn-primary {
    background: linear-gradient(135deg, #c0392b, #7a0000);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d84c3d, #8f0000);
}


.btn-profile {
    margin-bottom: 20px;
    background: linear-gradient(135deg, #c0392b, #7a0000);
    color: #fff;
}

.btn-profile:hover {
    background: linear-gradient(135deg, #d84c3d, #8f0000);
}

.btn-success {
    background: linear-gradient(135deg, #34d372, #1a7a3e);
    color: #fff;
}

.btn-success:hover {
    background: linear-gradient(135deg, #45e685, #1f9950);
}

.btn-warning {
    background: linear-gradient(135deg, #f5b041, #b8720a);
    color: #fff;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #f8c162, #cc8410);
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c, #8f1c1c);
    color: #fff;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #f0604f, #a32323);
}

.btn-sm {
    padding: 6px 16px;
    font-size: 12px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.remember-label {
    margin: 0;
    font-size: 14px;
    color: inherit;
    cursor: pointer;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 34px;
    transition: 0.3s;
}

.toggle-slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, #c0392b, #7a0000);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

.toggle-switch input:focus + .toggle-slider {
    box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.25);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #800000;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #365a8c;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
    background: #4b0303;
    color: #eef4ff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #fcfcfd;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-inline {
    display: inline;
}

.alert {
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: 14px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

footer {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 13px;
}

.notify-shell {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1200;
}

.notify-toggle {
    border: 2px solid #000000;
    border-radius: 999px;
    background: linear-gradient(to bottom, #b73b3b, #5f1d1d);
    color: #fff;
    padding: 12px 14px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    font-size: 15px;
}

.notify-toggle span {
    margin-left: 6px;
    font-weight: 700;
}

.notify-panel {
    position: fixed;
    right: 16px;
    bottom: 70px;
    width: min(320px, calc(100vw - 24px));
    max-height: 70vh;
    overflow: auto;
    background: #ffffff;
    color: #122033;
    border-radius: 12px;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.25);
    transform: translateX(120%);
    transition: transform 0.25s ease;
    padding: 12px;
}

.notify-panel.open {
    transform: translateX(0);
}

.notify-header {
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a73e8;
}

.notify-item {
    display: block;
    padding: 10px 8px;
    border-radius: 8px;
    text-decoration: none;
    color: #122033;
    background: #f7f9fc;
    margin-bottom: 8px;
    border: 1px solid #e7ebf2;
}

.notify-item:hover {
    background: #eef4ff;
}

.notify-item small {
    display: block;
    color: #667085;
    margin-top: 4px;
}

.action-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.hero {
    position: relative;
    background-image: url("uploads/senilam.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
    text-align: center;

    padding: 70px 20px 65px;
    overflow: hidden;
}

/* Dark overlay so text is easier to read */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

.hero h1,
.hero h2,
.hero p {
    position: relative;
    z-index: 1;
}

/* SPAKS */
.hero h1 {
    font-family: 'Copperplate', fantasy;
    font-size: clamp(60px, 8vw, 90px);
    font-weight: 900;
    letter-spacing: 4px;

    margin: 0 0 10px;

    color: #fff;

    text-shadow:
        3px 3px 8px rgba(0,0,0,0.7);
}

/* Subtitle */
.hero h2 {
    font-family: 'Arial', sans-serif;
    font-size: clamp(18px, 2.5vw, 30px);
    font-weight: 700;

    letter-spacing: 2px;
    line-height: 1.3;

    margin: 0 auto 12px;

    color: #fff;

    text-shadow:
        2px 2px 6px rgba(0,0,0,0.8);
}

/* School name */
.hero .hero-school {
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;

    margin: 0;

    color: #fff;

    text-shadow:
        2px 2px 6px rgba(0,0,0,0.8);
}

.laporan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.laporan-card {
    background: #800000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 16px rgba(0,0,0,0.28);
    border: 1px solid #420707;
    transition: transform 0.2s, box-shadow 0.2s;
}

.laporan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 22px rgba(0,0,0,0.32);
}

.laporan-gambar {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #420707;
}

.laporan-gambar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.laporan-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 14px;
}

.laporan-body {
    padding: 18px;
}

.laporan-body h3 {
    font-size: 17px;
    margin-bottom: 8px;
    color: #fcfbfb;
}

.laporan-body .status {
    margin-bottom: 10px;
}

.laporan-deskripsi {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    margin: 10px 0;
}

.laporan-meta {
    font-size: 13px;
    color: #fefcfc;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: 10px;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {

    header {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    table {
        font-size: 12px;
    }

    table th, table td {
        padding: 8px 6px;
    }

    /* Show hamburger on mobile */
    .hamburger {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -260px;
        width: 260px;
        height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 70px;
        transition: right 0.35s ease;
        z-index: 1000;
        box-shadow: -4px 0 15px rgba(0,0,0,0.3);
    }

    .nav.open {
        right: 0;
    }

    .nav a {
        border-bottom: 1px solid rgba(255,255,255,0.15);
        border-radius: 0;
        padding: 14px 20px;
    }

    .nav .nav-right {
        margin-left: 0;
    }
}


/* ===== HAMBURGER ICON ===== */

/* Hidden by default (desktop) */
.hamburger {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 2001;
}


/* Hamburger lines */
.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 30px;
    background: #fff;
    border-radius: 2px;
    left: 0;
    transition: all 0.3s ease;
}


.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 10px;
}

.hamburger span:nth-child(3) {
    top: 20px;
}


/* Show hamburger only on mobile */
@media (max-width: 768px) {
    .hamburger {
        display: block !important;
    }
}


/* Hide hamburger on desktop */
@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }
}

/* ===== DARK OVERLAY BEHIND SLIDING NAV ===== */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 999;
}

.nav-overlay.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .hamburger {
        display: block !important;
    }
}

/* ===== FADE IN ANIMATION FOR CARDS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card,
.card,
.laporan-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger the stat cards so they don't all pop in at once */
.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

/* Stagger the content cards below the stats */
.card:nth-of-type(1) { animation-delay: 0.5s; }
.card:nth-of-type(2) { animation-delay: 0.6s; }

/* Stagger laporan-cards (used on laporan.php) */
.laporan-card:nth-child(1) { animation-delay: 0.1s; }
.laporan-card:nth-child(2) { animation-delay: 0.2s; }
.laporan-card:nth-child(3) { animation-delay: 0.3s; }
.laporan-card:nth-child(4) { animation-delay: 0.4s; }
.laporan-card:nth-child(5) { animation-delay: 0.5s; }
.laporan-card:nth-child(6) { animation-delay: 0.6s; }

/* PROFILE */

.profile-card {
    
    color: #000000;

    max-width:500px;
    margin:40px auto;

    background:white;

    padding:30px;

    border-radius:20px;

    text-align:center;

    box-shadow:0 10px 30px rgba(0,0,0,0.15);

    animation:profileSlide .6s ease;

}


.profile-image {

    width:130px;
    height:130px;

    object-fit:cover;

    border-radius:50%;

    border:5px solid #800000;

}



.profile-card h2 {

    margin-top:15px;

    color:#000000;

}



.role-badge {

    display:inline-block;

    background:#800000;

    color:white;

    padding:6px 18px;

    border-radius:20px;

    font-size:13px;

    font-weight:bold;

}



.profile-info {

    margin-top:20px;

    text-align:left;

    background:#f7f7f7;

    padding:15px;

    border-radius:10px;

}

.profile-card label {
    color: #333333;
}



.save-profile {

    margin-top:20px;

    padding:12px 35px;

    border:none;

    border-radius:30px;

    background:#800000;

    color:white;

    font-size:16px;

    cursor:pointer;

    transition:.3s;

}



.save-profile:hover {

    transform:translateY(-3px);

    background:#5b0000;

}



@keyframes profileSlide {

from {

opacity:0;

transform:translateY(30px);

}

to {

opacity:1;

transform:translateY(0);

}

}


.remove-profile {

    margin-top:10px;

    padding:10px 25px;

    border:none;

    border-radius:30px;

    background:#333;

    color:white;

    font-size:14px;

    cursor:pointer;

    transition:.3s;

}


.remove-profile:hover {

    background:#800000;

    transform:translateY(-3px);

}

/* ===== PAGE TRANSITION ===== */

body {
    animation: pageEnter 0.5s ease;
}


@keyframes pageEnter {

    from {
        opacity:0;
        transform:translateY(15px);
    }

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

}


/* Fade out before leaving */

body.page-exit {

    animation: pageExit 0.35s ease forwards;

}


@keyframes pageExit {

    from {
        opacity:1;
        transform:translateY(0);
    }

    to {
        opacity:0;
        transform:translateY(-15px);
    }

}

/* ===== MAIN HEADER ANIMATION ONLY ===== */

.main-header {
    animation: headerSlideDown 0.7s cubic-bezier(.25,.8,.25,1);
}

@keyframes headerSlideDown {
    from {
        opacity: 0;
        transform: translateY(-60px);
    }

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

/* ===== TRACKING ADUAN ===== */

.tracking-card {
max-width: 850px;
margin: 40px auto;
background: #ffffff;
color: #111;
padding: 35px;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0,0,0,0.15);
animation: fadeInUp 0.5s ease;
}

.tracking-card h2 {
text-align: center;
font-size: 28px;
margin-bottom: 5px;
}

.tracking-id {
text-align: center;
color: #777;
margin-bottom: 40px;
}

/* ===== PROGRESS ===== */

.tracking-progress {
display: flex;
align-items: center;
justify-content: center;
margin: 30px 0 40px;
}

.tracking-step {
display: flex;
flex-direction: column;
align-items: center;
min-width: 110px;
color: #aaa;
font-weight: 600;
}

.tracking-circle {
width: 60px;
height: 60px;

```
border-radius: 50%;

display: flex;
align-items: center;
justify-content: center;

background: #e5e5e5;

font-size: 24px;

margin-bottom: 8px;

transition: all 0.3s ease;
```

}

.tracking-step.active {
color: #800000;
}

.tracking-step.active .tracking-circle {
background: #800000;
color: white;

```
box-shadow: 0 5px 15px rgba(128,0,0,0.35);

transform: scale(1.08);
```

}

/* ===== CONNECTING LINE ===== */

.tracking-line {
height: 5px;
width: 120px;

```
background: #e5e5e5;

border-radius: 10px;

transition: background 0.4s ease;
```

}

.tracking-line.active {
background: #800000;
}

/* ===== CURRENT STATUS ===== */

.current-status {
text-align: center;
padding: 18px;
background: #f7f7f7;
border-radius: 12px;
margin-bottom: 25px;
}

.current-status strong {
display: block;
margin-bottom: 10px;
}

/* ===== COMPLAINT INFO ===== */

.tracking-info {
background: #f7f7f7;
padding: 22px;
border-radius: 12px;
margin-bottom: 25px;
}

.tracking-info h3 {
margin-bottom: 15px;
color: #800000;
}

.tracking-info p {
margin: 8px 0;
line-height: 1.5;
}

/* ===== MAINTENANCE NOTE ===== */

.tracking-note {
margin-top: 20px;
padding: 15px;

```
background: #fff4d6;

border-left: 5px solid #800000;

border-radius: 8px;
```

}

/* ===== REPAIR PHOTO ===== */

.repair-photo {

    margin-top:20px;
    padding:20px;

    background:#f7f7f7;

    border-radius:15px;

}


.repair-photo strong {

    display:block;
    margin-bottom:15px;

    color:#800000;

}


.repair-photo img {

    width:100%;
    max-width:400px;

    border-radius:12px;

    box-shadow:0 5px 15px rgba(0,0,0,0.2);

    transition:.3s;

}

/* ===== MOBILE ===== */

@media (max-width: 768px) {

```
.tracking-card {
    margin: 20px auto;
    padding: 20px;
}

.tracking-progress {
    flex-direction: column;
    gap: 0;
}

.tracking-line {
    width: 5px;
    height: 50px;
}

.tracking-step {
    min-width: 100px;
}
```

}

/* ===== TRACK ADUAN BUTTON ===== */

.track-btn {
    display: block;
    width: 100%;
    margin-top: 18px;

    padding: 12px;

    text-align: center;

    background: #800000;
    color: white;

    text-decoration: none;

    border-radius: 10px;

    font-weight: 600;

    transition: all 0.3s ease;
    border: 2px solid #3C0008;
}

.track-btn:hover {
    background: #5b0000;
    transform: translateY(-2px);

    box-shadow: 0 5px 15px rgba(128, 0, 0, 0.3);
}

.repair-image {
    margin-top:15px;
    padding-top:15px;
    border-top:1px solid #ddd;
    color:#000;
}


.repair-image img {

    width:100%;
    max-width:250px;

    border-radius:12px;

    margin-top:10px;

    box-shadow:0 5px 15px rgba(0,0,0,0.2);

    transition:.3s;

}


.repair-image img:hover {

    transform:scale(1.05);

}

/* ========================================
   FEEDBACK HOMEPAGE
======================================== */

.feedback-home {
    margin: 55px auto;
    max-width: 1100px;
}


/* HEADER */

.feedback-home-header {
    text-align: center;
    margin-bottom: 30px;
}

.feedback-label {
    display: inline-block;
    color: #800000;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.feedback-home-header h2 {
    font-size: 30px;
    color: #111;
    margin-bottom: 8px;
}

.feedback-home-header p {
    color: #777;
    font-size: 15px;
}


/* GRID */

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


/* CARD */

.feedback-home-card {
    position: relative;
    background: #ffffff;
    padding: 28px;
    border-radius: 18px;

    box-shadow:
        0 8px 25px rgba(0,0,0,0.10);

    border-top: 4px solid #800000;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

    animation: fadeInUp 0.6s ease;
}

.feedback-home-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.16);
}


/* STARS */

.feedback-stars {
    margin-bottom: 15px;
}

.feedback-stars .star {
    font-size: 22px;
    color: #ddd;
    margin-right: 2px;
}

.feedback-stars .star.active {
    color: #ffc107;
}


/* QUOTE */

.feedback-quote {
    color: #333;
    font-size: 15px;
    line-height: 1.7;
    min-height: 75px;
    margin-bottom: 22px;
}


/* AUTHOR */

.feedback-author {
    display: flex;
    align-items: center;
    gap: 12px;

    padding-top: 15px;

    border-top: 1px solid #eee;
}

.feedback-author-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(135deg, #c0392b, #7a0000);

    color: white;

    font-size: 15px;
}

.feedback-author strong {
    display: block;
    color: #222;
    font-size: 14px;
}

.feedback-author small {
    display: block;
    color: #888;
    font-size: 12px;
    margin-top: 3px;
}


/* BUTTON */

.feedback-home-button {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}


/* EMPTY */

.feedback-empty {
    background: white;
    padding: 45px 25px;
    border-radius: 18px;
    text-align: center;

    box-shadow:
        0 8px 25px rgba(0,0,0,0.10);
}

.feedback-empty-icon {
    width: 60px;
    height: 60px;

    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f5f5f5;

    color: #ffc107;

    font-size: 28px;
}

.feedback-empty h3 {
    color: #222;
    margin-bottom: 8px;
}

.feedback-empty p {
    color: #888;
    margin-bottom: 20px;
}


/* MOBILE */

@media (max-width: 900px) {

    .feedback-grid {
        grid-template-columns: 1fr;
    }

    .feedback-home {
        margin: 40px 20px;
    }

}


@media (max-width: 500px) {

    .feedback-home-header h2 {
        font-size: 25px;
    }

    .feedback-home-card {
        padding: 22px;
    }

}

/* ========================================
   FIX - FEEDBACK HOMEPAGE
======================================== */

.feedback-home {
    color: #111 !important;
    background: transparent !important;
}

.feedback-home-header {
    color: #111 !important;
}

.feedback-home-header .feedback-label {
    color: #800000 !important;
}

.feedback-home-header h2 {
    color: #111 !important;
}

.feedback-home-header p {
    color: #777 !important;
}


/* Feedback cards */

.feedback-grid {
    color: #111 !important;
}

.feedback-home-card {
    background: #ffffff !important;
    color: #111 !important;
}

.feedback-home-card .feedback-stars {
    color: #ffc107 !important;
}

.feedback-home-card .feedback-quote {
    color: #333 !important;
}

.feedback-home-card .feedback-author {
    color: #111 !important;
}

.feedback-home-card .feedback-author strong {
    color: #222 !important;
}

.feedback-home-card .feedback-author small {
    color: #888 !important;
}


/* Empty state */

.feedback-empty {
    background: #ffffff !important;
    color: #111 !important;
}

.feedback-empty h3 {
    color: #222 !important;
}

.feedback-empty p {
    color: #777 !important;
}