/* --- Certificate & Feedback Page Style --- */
:root {
    --bg-page: #121212;
    --bg-card: #1B1B1B;
    --bg-input: #2C2C2C;
    --text-primary: #FFFFFF;
    --text-secondary: #8E8E8E;
    --accent-primary: #FF6B6B;
    --accent-hover: #FF8E8E;
    --border-color: #3A3A3A;
    --font-main: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-page);
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.main-card {
    width: 100%;
    max-width: 600px;
    background-color: var(--bg-card);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    animation: scaleUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
@keyframes scaleUp { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }

h1, h2 { font-weight: 700; margin-bottom: 8px; }
.subtitle { color: var(--text-secondary); margin-bottom: 30px; }
.hidden { display: none !important; }

/* Search Form */
.form-group label { display: block; margin-bottom: 8px; font-size: 0.8rem; font-weight: 500; color: var(--text-secondary); text-transform: uppercase; }
#search-query { width: 100%; padding: 14px 18px; background-color: var(--bg-input); border: 1px solid var(--border-color); border-radius: 12px; color: var(--text-primary); font-size: 1rem; text-align: center; }
#search-query:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.3); }
.error-message { color: var(--accent-primary); margin-top: 15px; min-height: 20px; }

/* Feedback Section */
.star-rating { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; font-size: 2.5rem; }
.star { cursor: pointer; color: var(--bg-input); transition: color 0.2s, transform 0.2s; }
.star:hover, .star.hovered { color: #f39c12; transform: scale(1.1); }
.star.selected { color: #f1c40f; }
#feedback-text { width: 100%; padding: 12px; background-color: var(--bg-input); border: 1px solid var(--border-color); border-radius: 8px; color: var(--text-primary); resize: vertical; margin-bottom: 20px; }

/* Certificate Section */
#certificate-list { list-style: none; padding: 0; }
#certificate-list li { margin-bottom: 15px; }
#certificate-list a { display: block; background: var(--bg-input); padding: 15px 20px; border-radius: 10px; text-decoration: none; color: var(--accent-primary); font-weight: 600; transition: all 0.2s; }
#certificate-list a:hover { background: var(--accent-primary); color: var(--text-primary); }

/* Buttons & Links */
.submit-btn { width: 100%; padding: 16px; background: var(--accent-primary); color: var(--text-primary); border: none; border-radius: 12px; font-size: 1.1rem; font-weight: 600; cursor: pointer; margin-top: 20px; }
.submit-btn:hover { background-color: var(--accent-hover); }
.submit-btn:disabled { background: #555; cursor: not-allowed; }
.back-link { display: inline-block; margin-top: 30px; color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; }

/* In admin/admin-style.css, add at the end */
/* --- Feedback Summary Styles --- */
.feedback-summary {
    display: flex;
    gap: 20px;
    background-color: var(--bg-input);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}
.summary-item { text-align: center; }
.summary-label { display: block; font-size: 0.9rem; color: var(--text-secondary); }
.summary-value { display: block; font-size: 1.8rem; font-weight: 700; color: var(--accent-primary); }