/* Toast Notifications */
.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 24px;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
    max-width: 300px;
}

.toast-notification.success {
    background-color: #4caf50;
}

.toast-notification.error {
    background-color: #f44336;
}

.toast-notification.info {
    background-color: #2196f3;
}

.toast-notification.warning {
    background-color: #ff9800;
    color: #333;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #ffe6c7;
    margin: 0;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    width: 100%;
    max-width: 1200px;
}

.card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1; /* Makes the card a square */
}

.card:hover {
    transform: translateY(-10px) rotateY(10deg);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.card .icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffa43a;
}

.card h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #495057;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .card-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .card-container {
        grid-template-columns: repeat(4, 1fr);
    }
    .card {
        padding: 40px;
    }
    .card h3 {
        font-size: 18px;
    }
}
