:root {
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --primary-color: #0f172a;
    --star-empty: #e2e8f0;
    --star-filled: #eab308;
    --border-radius: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    padding: 15px;
    padding-bottom: 40px;
}

.mobile-container {
    max-width: 500px;
    margin: 0 auto;
}

.app-header {
    text-align: center;
    margin-bottom: 25px;
    padding-top: 10px;
}

.app-header h1 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.app-header p {
    font-size: 13px;
    color: var(--text-muted);
}

.category-section {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 20px 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.category-section h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--primary-color);
}

.rating-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.rating-item:last-child {
    margin-bottom: 0;
}

.item-name {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
}

.stars-container {
    display: flex;
    gap: 8px;
    direction: ltr;
    justify-content: flex-end;
}

.star {
    font-size: 28px;
    color: var(--star-empty);
    cursor: pointer;
    transition: color 0.2s;
    user-select: none;
}

.star.active {
    color: var(--star-filled);
}

textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    resize: none;
    background-color: #f8fafc;
}

textarea:focus {
    outline: none;
    border-color: var(--star-filled);
}

.submit-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 16px;
    border: none;
    border-radius: var(--border-radius);
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.submit-btn:active {
    transform: translateY(2px);
}
