/* Color Palette */
:root {
    --pink: #FF6B9D;
    --dark-purple: #6B46C1;
    --yellow: #FCD34D;
    --teal: #14B8A6;
    --light-beige: #F5F5F0;
    --white: #FFFFFF;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
}

/* Material Icons Base Styles */
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga';
}

/* Global Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--light-beige);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: var(--text-dark);
}

/* Kids Interface Styles */
.kids-container {
    min-height: 100vh;
    background: var(--light-beige);
    padding: 10px;
}

/* Top Bar Styles */
.top-bar-kids {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    margin-bottom: 20px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.btn-back-top {
    color: var(--text-dark);
    font-size: 32px;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 20px;
    background: var(--light-beige);
    border-radius: 12px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-back-top:hover {
    background: var(--dark-purple);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.profile-points-top {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-avatar-top {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-top .material-icons {
    font-size: 40px;
    color: var(--dark-purple);
}

.points-display-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--teal);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.points-number-top {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.points-label-top {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Prize Timeline Card */
.prize-timeline-card {
    background: var(--white);
    border-radius: 20px;
    padding: 20px 30px;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
}

.prize-timeline-container {
    position: relative;
    padding: 30px 20px 50px 20px;
}

.prize-timeline-bar {
    position: relative;
    width: 100%;
    height: 24px;
    background: #E5E7EB;
    border-radius: 6px;
    overflow: visible;
}

.prize-timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--teal);
    border-radius: 6px 0 0 6px;
    transition: width 0.2s ease;
}

.prize-marker {
    position: absolute;
    top: -40px;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
}

.prize-marker-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    margin: 0 auto 10px;
    transition: all 0.3s;
    border: 4px solid var(--white);
}

.prize-marker-icon.unlocked {
    border-color: var(--teal);
    background: var(--white);
    transform: scale(1.05);
}

.prize-marker-icon.unlocked .material-icons {
    color: var(--teal);
    font-size: 40px;
}

.prize-marker-icon.locked {
    border-color: #D1D5DB;
    background: #F9FAFB;
    opacity: 0.7;
}

.prize-marker-icon.locked .material-icons {
    color: #9CA3AF;
    font-size: 40px;
}

.prize-marker-label {
    font-size: 13px;
    color: var(--text-dark);
    white-space: nowrap;
    font-weight: 500;
    line-height: 1.2;
}

.prize-marker-points-left {
    font-size: 11px;
    color: var(--pink);
    font-weight: 700;
    margin-bottom: 2px;
}

.prize-marker-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.prize-marker-points {
    font-size: 11px;
    color: var(--text-gray);
    margin-bottom: 0;
}

.prize-current-position {
    position: absolute;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 3;
}

.current-position-dot {
    width: 4px;
    height: 60px;
    background: var(--yellow);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(252, 211, 77, 0.5);
    margin: 0 auto;
}

/* Task Cards */
.task-card {
    display: block;
    text-decoration: none;
    background: var(--white);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
    box-shadow: var(--shadow-sm);
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.task-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    border-color: var(--teal);
}

.task-icon {
    margin-bottom: 20px;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
}

.task-icon .material-icons {
    font-size: 80px;
    color: var(--dark-purple);
}

.task-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.task-points-badge {
    background: var(--teal);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 16px;
    position: absolute;
    top: 16px;
    right: 16px;
    box-shadow: var(--shadow-sm);
}

/* Completed Task Styles */
.task-card.completed-today {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    border-color: #9CA3AF;
    background: #F9FAFB;
}

.task-card.completed-today .task-icon {
    background: linear-gradient(135deg, #E5E7EB 0%, #D1D5DB 100%);
    filter: grayscale(50%);
}

.task-card.completed-today .task-icon .material-icons {
    color: #6B7280;
}

.task-card.completed-today .task-points-badge {
    background: #9CA3AF;
}

.task-completed-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(20, 184, 166, 0.95);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.4);
}

.task-completed-badge .material-icons {
    font-size: 48px;
    color: var(--white);
}

.task-cooldown-timer {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-purple);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.task-cooldown-timer .countdown-text {
    color: var(--teal);
    font-weight: 700;
}

/* Redemption Page */
.points-display-large {
    text-align: right;
}

.points-display-large .points-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--dark-purple);
    line-height: 1;
}

.points-display-large .points-label {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prize-card {
    background: var(--white);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid transparent;
}

.prize-card:hover:not(.disabled) {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--teal);
}

.prize-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #F9FAFB;
}

.prize-card.disabled .prize-icon {
    filter: grayscale(100%);
}

.prize-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.prize-icon .material-icons {
    font-size: 56px;
    color: #D97706;
}

.prize-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.prize-details {
    margin-top: auto;
}

.prize-name {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.prize-points {
    background: var(--teal);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
}

.prize-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-weight: 600;
    gap: 8px;
}

.prize-overlay .material-icons {
    font-size: 32px;
}

/* Success Modal Styles */
.success-icon {
    animation: bounce 1s infinite;
}

.points-update {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: #F3F4F6;
    padding: 20px;
    border-radius: 16px;
}

.points-old,
.points-new {
    display: flex;
    flex-direction: column;
}

.points-old .value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-gray);
    text-decoration: line-through;
}

.points-new .value {
    font-size: 32px;
    font-weight: 800;
    color: var(--success);
}

.points-arrow {
    color: var(--text-gray);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Task Confirmation */
.task-confirmation {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    margin: 0 auto;
}

.task-icon-large {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.task-icon-large .material-icons {
    font-size: 100px;
    color: var(--dark-purple);
}

.task-icon-large img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.points-badge-large {
    background: var(--teal);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 28px;
    display: inline-block;
    box-shadow: var(--shadow-md);
}

.btn-back {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--text-dark);
    font-size: 28px;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.15s, color 0.15s, transform 0.15s;
}

.btn-back:hover {
    background: var(--dark-purple);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Profile Selection */
.profile-card {
    display: block;
    text-decoration: none;
    background: var(--white);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
    border: 3px solid transparent;
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--teal);
    text-decoration: none;
}

.profile-picture {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-picture .material-icons {
    font-size: 180px;
    color: var(--dark-purple);
}

.profile-picture img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Parent Interface Styles */
.parent-container {
    min-height: 100vh;
    background: var(--light-beige);
    display: flex;
}

/* Sidebar Navigation */
.parent-sidebar {
    width: 280px;
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 30px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.parent-logo {
    padding: 0 30px 40px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.parent-logo-icon {
    width: 48px;
    height: 48px;
    background: var(--teal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 20px;
}

.parent-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.parent-nav {
    padding: 0 20px;
}

.parent-nav-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    margin-bottom: 8px;
    border-radius: 12px;
    color: var(--text-gray);
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s;
    font-weight: 500;
    position: relative;
}

.parent-nav-item:hover {
    background: var(--light-beige);
    color: var(--dark-purple);
    text-decoration: none;
}

.parent-nav-item.active {
    background: linear-gradient(90deg, rgba(107, 70, 193, 0.1) 0%, transparent 100%);
    color: var(--dark-purple);
    font-weight: 600;
}

.parent-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--teal);
    border-radius: 0 4px 4px 0;
}

.parent-nav-item .material-icons {
    font-size: 24px;
}

/* Main Content Area */
.parent-main {
    margin-left: 280px;
    flex: 1;
    padding: 20px;
}

.parent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.parent-greeting h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.parent-greeting p {
    color: var(--text-gray);
    font-size: 16px;
    margin: 0;
}

.parent-user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.parent-notification {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    color: var(--text-gray);
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

.parent-notification:hover {
    background: var(--light-beige);
    color: var(--dark-purple);
}

.parent-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.parent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dashboard Cards */
.dashboard-card {
    background: var(--white);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
    transition: transform 0.15s, box-shadow 0.15s;
}

.dashboard-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.dashboard-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-card-title .material-icons {
    font-size: 28px;
    color: var(--dark-purple);
}

/* Colorful Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
    cursor: pointer;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-card.pink {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1) 0%, rgba(255, 107, 157, 0.05) 100%);
    border-color: var(--pink);
}

.feature-card.purple {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1) 0%, rgba(107, 70, 193, 0.05) 100%);
    border-color: var(--dark-purple);
}

.feature-card.yellow {
    background: linear-gradient(135deg, rgba(252, 211, 77, 0.1) 0%, rgba(252, 211, 77, 0.05) 100%);
    border-color: var(--yellow);
}

.feature-card.teal {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(20, 184, 166, 0.05) 100%);
    border-color: var(--teal);
}

.feature-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-card-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
}

.feature-card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 8px;
}

.feature-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.feature-card.pink .feature-card-icon {
    background: var(--pink);
    color: var(--white);
}

.feature-card.purple .feature-card-icon {
    background: var(--dark-purple);
    color: var(--white);
}

.feature-card.yellow .feature-card-icon {
    background: var(--yellow);
    color: var(--text-dark);
}

.feature-card.teal .feature-card-icon {
    background: var(--teal);
    color: var(--white);
}

/* Profile Cards */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.profile-item-card {
    background: var(--white);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
    border: 2px solid transparent;
}

.profile-item-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--teal);
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.profile-item-card .material-icons {
    font-size: 80px;
    color: var(--dark-purple);
    margin-bottom: 16px;
}

.profile-item-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.profile-item-points {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-purple);
    margin-bottom: 16px;
}

/* Tables */
.table-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    border-bottom: 2px solid #E5E7EB;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 16px;
}

.table tbody td {
    padding: 20px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #F3F4F6;
}

.table tbody tr:hover {
    background: var(--light-beige);
}

/* Buttons */
.btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 12px 24px;
    transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
    border: none;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: #0D9488;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.btn-success {
    background: var(--teal);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-success:hover {
    background: #0D9488;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.btn-warning {
    background: var(--yellow);
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
}

.btn-warning:hover {
    background: #FBBF24;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--text-dark);
}

.btn-danger {
    background: #EF4444;
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-danger:hover {
    background: #DC2626;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.btn-secondary {
    background: #E5E7EB;
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: #D1D5DB;
    color: var(--text-dark);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

/* Badges */
.badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
}

.bg-primary {
    background: var(--dark-purple) !important;
}

.bg-success {
    background: var(--teal) !important;
}

.bg-warning {
    background: var(--yellow) !important;
    color: var(--text-dark) !important;
}

.bg-secondary {
    background: #9CA3AF !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .parent-sidebar {
        width: 240px;
    }

    .parent-main {
        margin-left: 240px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .parent-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .parent-main {
        margin-left: 0;
        padding: 20px;
    }

    .profile-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .points-number-top {
        font-size: 24px;
    }

    .task-icon {
        width: 100px;
        height: 100px;
    }

    .task-icon .material-icons {
        font-size: 60px;
    }
}

/* Icon Picker Styles */
.icon-picker-container {
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    margin-top: 8px;
}

.icon-search-container {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f9fafb;
    padding-bottom: 8px;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
    padding: 5px;
}

.icon-option {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
    border: 1px solid #e5e7eb;
}

.icon-option:hover {
    background: #f3f4f6;
    transform: scale(1.05);
    border-color: var(--teal);
}

.icon-option.selected {
    background: var(--teal);
    color: white;
    border-color: var(--teal);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.icon-option .material-icons {
    font-size: 24px;
    color: var(--text-gray);
}

.icon-option.selected .material-icons {
    color: white;
}