/* Custom CSS for a deal website aesthetic, complementing Tailwind CSS */

/* Color Palette */
:root {
    --primary-color: #3B82F6; /* A vibrant blue for primary actions/links */
    --secondary-color: #22C55E; /* A fresh green for secondary elements/success */
    --accent-color: #EF4444; /* A bold red for accents/warnings */
    --text-dark: #1f2937; /* Dark gray for main text */
    --text-light: #6b7280; /* Lighter gray for secondary text */
    --bg-light: #ffffff; /* White background */
    --bg-gray: #f0f4f8; /* Slightly cooler light gray background for sections */
    --border-color: #d1d5db; /* Neutral border color */
}

body {
    font-family: 'Inter', sans-serif; /* A modern, clean sans-serif font */
    color: var(--text-dark);
    background-color: var(--bg-gray);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif; /* A bold, modern font for headings */
    color: var(--text-dark);
    margin-bottom: 0.5em;
    line-height: 1.2;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* General Layout / Containers */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem; /* Tailwind's rounded-md */
    font-weight: 600; /* Tailwind's font-semibold */
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-light);
}

.btn-primary:hover {
    background-color: #c53030; /* Darker red on hover */
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--bg-light);
}

.btn-accent:hover {
    background-color: #d69e2e; /* Darker yellow on hover */
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-light);
}

/* Deal specific elements (examples) */
.deal-card {
    background-color: var(--bg-light);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 3px solid var(--border-color); /* Increased border width */
}

.deal-price {
    font-size: 1.875rem; /* Tailwind's text-3xl */
    font-weight: 700; /* Tailwind's font-bold */
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.deal-title {
    font-size: 1.25rem; /* Tailwind's text-xl */
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.deal-original-price {
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.deal-save-badge {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px; /* Tailwind's rounded-full */
    font-size: 0.875rem; /* Tailwind's text-sm */
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.deal-description {
    color: var(--text-light);
    font-size: 0.9375rem; /* Slightly smaller than base */
    margin-bottom: 1rem;
}

.deal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.card {
    background-color: var(--bg-light);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border: 3px solid var(--border-color); /* Increased border width */
}

.highlight-card {
    background-color: #fffbeb; /* Very light yellow */
    border: 1px solid var(--accent-color);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-input, .form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color); /* More visible border */
    border-radius: 0.375rem;
    background-color: var(--bg-light);
    color: var(--text-dark);
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.2); /* Focus ring with primary color */
    outline: none;
}