/* index.css */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f9ff;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 0;
}

/* Navbar Styles */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    color: #4a4a4a; /* Logo text color - matches footer */
    text-decoration: none;
}

.navbar-brand .logo-highlight {
    color: #ff6b6b; /* Highlighted part of logo - matches footer */
}

.navbar-nav .nav-item .nav-link {
    color: #333;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

.navbar-nav .nav-item .nav-link:hover {
    color: #007bff;
}

.navbar-toggler {
    border-color: rgba(0,0,0,0.1);
}

.navbar-toggler-icon {
    color: #333;
}

.user-initial-circle {
    background-color: #007bff;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Profile Slide-Out Panel */
.profile-slide {
    position: fixed;
    right: -300px;
    top: 70px; /* Adjusted to align below the navbar */
    width: 300px;
    background-color: #f8f9fa; /* Light gray background */
    transition: right 0.3s ease;
    z-index: 1050;
    border-left: 1px solid #ddd;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
}

.profile-slide.open {
    right: 0;
}

.profile-slide-header {
    padding: 15px;
    background-color: #007bff; /* Primary blue */
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.profile-slide-header .user-initial-circle {
    width: 60px;
    height: 60px;
    font-size: 2rem;
    margin-bottom: 10px;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
}

.profile-slide-content {
    padding: 20px;
    text-align: center;
}

.profile-slide-content h6 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #333;
}

.profile-slide-content .btn-primary {
    background-color: #007bff;
    border: none;
    width: 100%;
    padding: 10px;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
}

.profile-slide-content .btn-primary:hover {
    background-color: #0056b3;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    margin-top: 70px; /* Added to account for fixed navbar height */
}

.hero h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero .sub-heading {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: #4a4a4a;
    text-align: center;
    margin-bottom: 50px;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Responsive grid for smaller screens */
@media (max-width: 1400px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 640px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.benefit-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-card i {
    font-size: 2.5rem;
    color: #ff6b6b;
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #4a4a4a;
    line-height: 1.3;
}

.benefit-card p {
    font-size: 1rem;
    color: #333;
}

.benefit-card .author {
    font-style: italic;
    margin-top: 10px;
    color: #777;
}

/* Pricing Cards */
.benefit-card .price {
    font-size: 1.75rem;
    color: #ff6b6b;
    margin: 15px 0;
}

.benefit-card .price span {
    font-size: 1rem;
    color: #777;
}

.benefit-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.benefit-card ul li {
    margin-bottom: 10px;
    font-size: 1rem;
}

.plan-button {
    display: inline-block;
    background-color: #ff6b6b;
    color: #ffffff;
    font-size: 1rem;
    padding: 10px 25px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    margin: 0 auto;
    text-align: center;
}

.plan-button:hover {
    background-color: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

/* Featured Plan */
.featured {
    border: 2px solid #ff6b6b;
}

.featured .plan-button {
    background-color: #ffffff;
    color: #ff6b6b;
}

.featured .plan-button:hover {
    background-color: #ff6b6b;
    color: #ffffff;
}

/* Pricing Cards Styles - Udemy-like Design */
.pricing-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-info {
    text-align: center;
    margin-bottom: 2.5rem;
}

.pricing-highlights {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    background-color: #f8f9fa;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border-left: 4px solid #ff6b6b;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-highlight {
    display: flex;
    align-items: center;
    color: #333;
    font-size: 0.95rem;
    gap: 0.5rem;
}

.pricing-highlight i {
    color: #ff6b6b;
    font-size: 1.1rem;
}

.pricing-highlight strong {
    color: #ff6b6b;
}

.pricing-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    border: 2px solid #ff6b6b;
    transform: scale(1.05);
    position: relative;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    color: white;
    padding: 8px 24px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0 0 12px 12px;
}

.card-header {
    padding: 2rem 1.5rem 1rem;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-card.featured .card-header {
    padding-top: 2.5rem;
}

.plan-icon {
    margin-bottom: 1rem;
}

.plan-icon i {
    font-size: 2.5rem;
    color: #ff6b6b;
}

.plan-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-price {
    margin: 1rem 0;
    line-height: 1;
}

.plan-price .currency {
    font-size: 1.2rem;
    color: #333;
    vertical-align: top;
    font-weight: 600;
}

.plan-price .amount {
    font-size: 3rem;
    font-weight: 800;
    color: #ff6b6b;
}

.plan-description {
    font-size: 1rem;
    color: #666;
    margin: 0.5rem 0 0;
}

.card-body {
    padding: 1.5rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    border-bottom: 1px solid #f8f9fa;
    color: #333;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li i {
    margin-right: 12px;
    width: 16px;
    font-size: 0.9rem;
}

.features-list li i.fa-check {
    color: #28a745;
}

.features-list li i.fa-times {
    color: #dc3545;
}

.features-list li .text-muted {
    color: #999 !important;
}

.card-footer {
    padding: 1.5rem;
    border-top: 1px solid #f0f0f0;
    background-color: #fafafa;
}

.plan-button {
    display: block;
    width: 100%;
    padding: 14px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.plan-button.btn-outline {
    background-color: transparent;
    color: #ff6b6b;
    border-color: #ff6b6b;
}

.plan-button.btn-outline:hover {
    background-color: #ff6b6b;
    color: white;
}

.plan-button.btn-primary {
    background-color: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
}

.plan-button.btn-primary:hover {
    background-color: #ff5252;
    border-color: #ff5252;
    transform: translateY(-1px);
}

.pricing-footer {
    text-align: center;
    margin-top: 3rem;
}

.pricing-guarantees {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.guarantee-item {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

.guarantee-item i {
    margin-right: 8px;
    color: #ff6b6b;
    font-size: 1rem;
}

/* Responsive design for pricing cards */
@media (max-width: 992px) {
    .pricing-cards-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .pricing-cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 1.5rem 0;
    }

    .plan-price .amount {
        font-size: 2.5rem;
    }

    .pricing-guarantees {
        flex-direction: column;
        gap: 1rem;
    }

    .pricing-highlights {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.5rem;
    }

    .pricing-highlight {
        justify-content: center;
        font-size: 0.9rem;
    }

    .card-header {
        padding: 1.5rem 1rem 1rem;
    }

    .card-body {
        padding: 1rem;
    }

    .card-footer {
        padding: 1rem;
    }
}

/* Tax Disclaimer */
.tax-disclaimer {
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    margin-top: 20px;
    font-style: italic;
}

/* Footer Styles */
.footer {
    background-color: #ffffff;
    border-top: 2px solid #ffcc00;
    padding: 3px 0; /* Further reduced padding */
    margin-top: 20px;
}

.footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
}

.footer-left .logo {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem; /* Reduced font size */
    color: #4a4a4a;
    text-decoration: none;
    margin-bottom: 5px;
}

.footer-left .logo span {
    color: #ff6b6b;
}

.footer-left p {
    font-size: 0.85rem; /* Reduced font size */
    color: #777;
}


.footer-right .social-media {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.footer-right .social-media li {
    margin-left: 10px;
}

.footer-right .social-media a {
    color: #4a4a4a;
    font-size: 1.2rem; /* Reduced icon size */
    transition: color 0.3s;
}

.footer-right .social-media a:hover {
    color: #ff6b6b;
}


.explanation-content {
    min-height: 80vh; /* Occupies most of the screen’s height */
    margin: 20px auto;
    padding: 20px;
}

/* FAQ Section Styles */
.faq {
    padding: 80px 0;
    background-color: #f0f9ff;
    text-align: center;
}

.faq h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: #4a4a4a;
    text-align: center;
    margin-bottom: 50px;
}

.faq .accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq .card {
    margin-bottom: 20px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq .card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.faq .card-header {
    background-color: #ffffff;
    border-bottom: none;
    padding: 0;
}

.faq .card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.faq .btn-link {
    color: #4a4a4a;
    text-decoration: none;
    padding: 16px;
    position: relative;
    font-weight: 600;
    width: 100%;
    text-align: left;
}

.faq .btn-link:hover, 
.faq .btn-link:focus {
    text-decoration: none;
    color: #ff6b6b;
}

.faq .btn-link::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 16px;
    transition: transform 0.3s ease;
}

.faq .btn-link.collapsed::after {
    transform: rotate(0deg);
}

.faq .btn-link:not(.collapsed)::after {
    transform: rotate(180deg);
}

.faq .card-body {
    padding: 20px;
    background-color: #ffffff;
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
    text-align: left;
}

.faq .card-body p {
    margin-bottom: 12px;
    color: #333;
    font-size: 1rem;
}

.faq .card-body p:last-child {
    margin-bottom: 0;
}

.faq .card-body ul {
    padding-left: 20px;
    margin-bottom: 0;
    text-align: left;
}

.faq .card-body li {
    margin-bottom: 8px;
}

.faq .card-body li:last-child {
    margin-bottom: 0;
}


/* Responsive Styles for Tablets */
@media (max-width: 768px) {
    /* Existing Navbar and Hero adjustments */
    .navbar .container {
        flex-wrap: wrap;
    }
    .navbar-collapse {
        flex-basis: 100%;
        flex-grow: 1;
        align-items: center;
    }
    .navbar-nav {
        flex-direction: row;
    }
    .navbar-nav .nav-item {
        margin-left: 0;
    }
    .hero {
        padding: 100px 0 80px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    /* Footer Adjustments for Tablets */
    .footer {
        padding: 3px 0; /* Already reduced, ensure it's minimal */
        margin-top: 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-left {
        align-items: center;
        margin-bottom: 10px;
    }

    .footer-left .logo {
        font-size: 1.25rem; /* Ensure logo size is consistent */
    }

    .footer-left p {
        font-size: 0.75rem; /* Further reduced font size */
        color: #777;
    }

    .footer-right .social-media {
        justify-content: center;
    }

    .footer-right .social-media li {
        margin-left: 5px;
        margin-right: 5px;
    }

    .footer-right .social-media a {
        font-size: 1rem; /* Reduced icon size */
    }

    .faq {
        padding: 60px 0;
    }
    
    .faq h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .faq .btn-link {
        padding: 14px;
        font-size: 1rem;
    }
    
    .faq .card-body {
        padding: 15px;
    }
}

/* Responsive Styles for Mobile Devices */
@media (max-width: 480px) {
    /* Existing Navbar and Hero adjustments */
    .navbar-brand {
        font-size: 1.25rem;
    }
    .user-initial-circle {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    .hero {
        padding: 80px 0 60px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero .sub-heading {
        font-size: 1rem;
    }

    /* Footer Adjustments for Mobile */
    .footer {
        padding: 3px 0; /* Further reduced padding */
        margin-top: 15px; /* Slightly reduced top margin */
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-left {
        align-items: center;
        margin-bottom: 5px; /* Reduced bottom margin */
    }

    .footer-left .logo {
        font-size: 1.15rem; /* Slightly reduced logo size */
    }

    .footer-left p {
        font-size: 0.7rem; /* Further reduced font size */
        color: #777;
    }

    .footer-right .social-media {
        justify-content: center;
    }

    .footer-right .social-media li {
        margin-left: 3px; /* Reduced spacing between icons */
        margin-right: 3px;
    }

    .footer-right .social-media a {
        font-size: 0.9rem; /* Further reduced icon size */
    }

    .faq {
        padding: 40px 0;
    }
    
    .faq h2 {
        font-size: 1.75rem;
        margin-bottom: 25px;
    }
    
    .faq .card {
        margin-bottom: 15px;
    }
    
    .faq .btn-link {
        padding: 12px;
        font-size: 0.95rem;
    }
    
    .faq .card-body {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .faq .card-body p {
        font-size: 0.9rem;
    }
}


/* Toast Messages */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1050;
}

.toast {
    min-width: 250px;
}

/* Animations */
@keyframes pop-in {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-pop-in {
    animation: pop-in 0.5s ease forwards;
}




/* Updated Dashboard CSS - Replace the existing dashboard styles in your index.css with these */

/* Dashboard Styles */
.dashboard-content {
    margin-top: 20px;
}

.dashboard-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dashboard-section h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

.children-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.child-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 15px;
}

.plan-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.plan-badge.free {
    background: #e3f2fd;
    color: #1976d2;
}

.plan-badge.essentials {
    background: #fff3e0;
    color: #f57c00;
}

.plan-badge.pro {
    background: #e8f5e8;
    color: #388e3c;
}

.competitions-list {
    margin-bottom: 20px;
}

.competitions-list h4 {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.competitions-count {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.competition-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.competition-tag {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.competition-tag.active {
    background: #007bff;
    color: white;
}

.competition-tag:not(.active) {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #e9ecef;
}

.competition-tag:hover {
    transform: translateY(-1px);
}


.child-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.child-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

.child-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.child-card p {
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.action-button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.action-button-container .btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}

.btn-info {
    background: #17a2b8;
    color: white;
}

.btn-info:hover {
    background: #138496;
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}

.btn-warning {
    background: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background: #e0a800;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
    transform: translateY(-1px);
}

.add-child-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #007bff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.add-child-card:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.2);
}

.add-child-card i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 12px;
}

.add-child-card p {
    font-size: 1rem;
    color: #007bff;
    font-weight: 600;
    margin: 0;
}

.transaction-history-section {
    text-align: center;
    margin-top: 30px;
}

.transaction-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 25px;
    border: none;
    transition: all 0.3s ease;
}

.transaction-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.3);
}

/* Feedback message */
.feedback-message {
    position: fixed;
    top: 90px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    font-weight: 600;
    z-index: 1050;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.feedback-message.show {
    opacity: 1;
    transform: translateX(0);
}

.feedback-message.success {
    background: #28a745;
}

.feedback-message.error {
    background: #dc3545;
}

.feedback-message.info {
    background: #17a2b8;
}

/* Additional responsive styles for dashboard */
@media (max-width: 768px) {
    .children-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .child-card {
        padding: 15px;
    }

    .action-button-container {
        flex-direction: column;
    }
    
    .dashboard-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .child-card {
        padding: 12px;
    }

    .children-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-section {
        padding: 15px;
    }
    
    .action-button-container .btn {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-1px);
}
