

/* Color Palette */
:root {
    --bg-color: #f1f5f9;       /* Original: bg-slate-100 */
    --text-color: #334155;     /* Original: text-slate-800 */
    --text-secondary: #64748b; /* Original: text-slate-600 */
    --text-light: #94a3b8;     /* Original: text-slate-500 */
    --primary-color: #0d9488;  /* Original: text-teal-600 */
    --primary-hover: #0f766e;  /* Original: hover:bg-teal-700 */
    --primary-dark: #115e59;   /* Original: text-teal-700 */
    --border-color: #e2e8f0;   /* Original: border-slate-200 */
    --white-color: #ffffff;
}

/* Font Setup */
@font-face {
    font-family: 'LiSirajeeSheikhUnicode';
    src: url('fonts/LiSirajeeSheikhUnicode-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.font-bengali {
    font-family: 'LiSirajeeSheikhUnicode', 'Hind Siliguri', sans-serif;
    font-weight: normal;
}

/* Main Layout Container */
.container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px; /* Equivalent to max-w-2xl */
    text-align: center;
    width: 100%;
}

/* Header */
.page-header {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #1e293b;
    padding: 20px 20px;
    border-radius: 5px;
}

.logo {
    width: 150px;
}

.page-title {
    font-size: 2.25rem; /* Equivalent to text-4xl */
    color: var(--primary-color);
    margin: 5px;
}

.page-subtitle {
    margin-top: 0.5rem;
    font-size: 1.125rem; /* Equivalent to text-lg */
    color: var(--text-secondary);
}

/* Main Content */
.live-demo-section {
    background-color: var(--white-color);
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    padding: 2rem;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.demo-label {
    font-size: 0.875rem; /* Equivalent to text-sm */
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

#live-date-preview {
    font-size: 1.875rem; /* Equivalent to text-3xl */
    color: var(--primary-dark);
}

/* Call to Action Button */
.cta-button {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: transform 0.2s, background-color 0.2s;
    display: inline-block;
    font-size: 1.125rem; /* Equivalent to text-lg */
    text-decoration: none;
}

.cta-button:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
}

/* Footer */
.page-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
}

.footer-text {
    color: var(--text-light);
}

.footer-link {
    text-decoration: underline;
    color: inherit;
}

.footer-link:hover {
    color: var(--primary-color);
}

/* ---- style.css (Add these new styles to your existing file) ---- */

/* Styles for Instruction Page Cards */
.steps-section > .instruction-card + .instruction-card {
    margin-top: 2rem; /* Replicates Tailwind's space-y-8 */
}

.instruction-card {
    background-color: var(--white-color);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    border: 1px solid var(--border-color);
}

.instruction-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.step-number {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 9999px;
    height: 2rem;
    width: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.instruction-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Styles for Code Blocks and Copy Button */
.code-block-wrapper {
    position: relative;
}

.code-block {
    background-color: #1e293b; /* bg-slate-800 */
    color: var(--white-color);
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    text-align: left;
}

.copy-button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: #475569; /* bg-slate-600 */
    color: var(--white-color);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.copy-button:hover {
    background-color: #64748b; /* hover:bg-slate-500 */
}

/* Styles for Live Preview Section */
.preview-section {
    margin-top: 3rem;
    text-align: center;
}

.preview-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}


/* Responsive styles for screens wider than 768px */
@media (min-width: 768px) {
    .page-title {
        font-size: 3rem; /* Equivalent to md:text-5xl */
    }
    #live-date-preview {
        font-size: 2.25rem; /* Equivalent to md:text-4xl */
    }
}