/* Base styles */
:root {
    --primary-color: #9333ea;
    --primary-hover: #7e22ce;
    --text-color: #333333;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --red: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.5;
    background-color: var(--bg-light);
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Layout */
.min-h-screen {
    min-height: 100vh;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.flex {
    display: flex;
}

.flex-1 {
    flex: 1;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.w-full {
    width: 100%;
}

/* Spacing */
.p-2 {
    padding: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.pt-2 {
    padding-top: 0.5rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-3 {
    margin-right: 0.75rem;
}

.ml-auto {
    margin-left: auto;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

/* Typography */
.text-center {
    text-align: center;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* Colors */
.text-white {
    color: white;
}

.text-gray-600 {
    color: var(--text-light);
}

.text-purple-600 {
    color: var(--primary-color);
}

.text-red-500 {
    color: var(--red);
}

.bg-white {
    background-color: var(--bg-white);
}

.bg-gray-50 {
    background-color: var(--bg-gray);
}

.bg-gray-100 {
    background-color: var(--bg-light);
}

.bg-purple-50 {
    background-color: rgba(147, 51, 234, 0.05);
}

.bg-purple-600 {
    background-color: var(--primary-color);
}

.border {
    border: 1px solid var(--border-color);
}

.border-t {
    border-top: 1px solid var(--border-color);
}

.border-b {
    border-bottom: 1px solid var(--border-color);
}

.border-purple-600 {
    border-color: var(--primary-color);
}

/* Components */
.rounded-md {
    border-radius: 0.375rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.shadow-lg {
    box-shadow: var(--shadow);
}

.overflow-hidden {
    overflow: hidden;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
}

button {
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.hover\:bg-purple-700:hover {
    background-color: var(--primary-hover);
}

.hover\:text-purple-700:hover {
    color: var(--primary-hover);
}

.hover\:bg-gray-50:hover {
    background-color: var(--bg-gray);
}

.hover\:underline:hover {
    text-decoration: underline;
}

.transition-colors {
    transition-property: color, background-color, border-color;
    transition-duration: 0.2s;
}

/* Forms */
input, select {
    font-family: inherit;
    font-size: inherit;
}

.block {
    display: block;
}

/* Grid */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gap-4 {
    gap: 1rem;
}

/* Inline flex */
.inline-flex {
    display: inline-flex;
}

/* Payment methods */
.payment-method {
    transition: all 0.2s ease;
}

.payment-method.selected {
    border-color: var(--primary-color);
    background-color: rgba(147, 51, 234, 0.05);
}

/* Media queries */
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}