:root {
    --r2-primary: #c2185b;
    --r2-primary-darker: #a9154f;
}

.page-background {
  background: linear-gradient(135deg, #2a2a57 0%, #3b1f78 100%);
  padding: 48px 24px;
  font-family: 'Poppins', sans-serif;
}

.content-container {
  max-width: 900px; /* Adjusted for a more focused layout like the screenshot */
  margin: auto;
}

.input-card {
  background-color: rgba(235, 235, 245, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  border: none;
}

.result-card {
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Typography */
.text-h1 {
    font-size: 3.75rem; /* 60px */
    font-weight: 700;
    line-height: 1.2;
}

.text-subtitle1 {
    font-size: 1.15rem; /* 18px */
    font-weight: 400;
    color: #e0e0e0 !important;
}

.text-white {
    color: #fff !important;
}

/* Form Styling */
.form-check-input:checked {
    background-color: var(--r2-primary);
    border-color: var(--r2-primary);
}

.btn-primary {
    background-color: var(--r2-primary);
    border-color: var(--r2-primary);
    padding: 0.85rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--r2-primary-darker);
    border-color: var(--r2-primary-darker);
}

.input-card, .input-card .form-label, .input-card .form-check-label, .input-card p {
    color: #212529;
}

.form-select, .form-control {
    background-color: #f8f9fa;
    font-size: 1rem;
}

.form-check-label {
    font-size: 0.95rem;
}
/* Tool Selection Cards */
.tool-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tool-card.selected {
    border-color: var(--r2-primary);
    background-color: #fde8f1;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tool-logo {
    max-height: 40px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

#tool-selector-container h3 {
    color: #495057; /* A muted, professional grey */
}

.tool-card .card-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #343a40; /* Dark grey color */
    margin-top: 0.5rem;
}
/* HTMX Loading Spinner */
.htmx-indicator {
    display: none;
}
.htmx-request .htmx-indicator {
    display: inline-block;
}
.htmx-request.btn .htmx-indicator {
    margin-left: 0.5rem;
}