/* ===== ACCOUNT SETTINGS STYLES ===== */
.account-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
}
/* ===== ACCOUNT SETTINGS STYLES ===== */
.max-w-4xl {
    max-width: 56rem; /* 896px */
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

/* Card Styles */
.bg-white {
    background-color: #fff;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.overflow-hidden {
    overflow: hidden;
}

/* Padding Utilities */
.p-6 {
    padding: 1.5rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Border Utilities */
.border {
    border-width: 1px;
    border-color: #e5e7eb;
}

.border-b {
    border-bottom-width: 1px;
    border-color: #e5e7eb;
}

.border-t {
    border-top-width: 1px;
    border-color: #e5e7eb;
}

/* Background Colors */
.bg-gray-50 {
    background-color: #f9fafb;
}

/* Text Styles */
.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-800 {
    color: #1f2937;
}

.text-gray-500 {
    color: #6b7280;
}

/* Form Elements */
label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: #374151;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #111827;
    background-color: #fff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239ca3af'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5em;
}

/* Checkbox Styles */
.flex.items-start {
    align-items: center;
}

.h-5 {
    height: 1.25rem;
}

.w-4 {
    width: 1rem;
}

.focus\:ring-blue-500:focus {
    --tw-ring-color: #3b82f6;
}

.text-blue-600 {
    color: #2563eb;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.rounded {
    border-radius: 0.25rem;
}

.ml-3 {
    margin-left: 0.75rem;
}

/* Button Styles */
.bg-blue-600 {
    background-color: #2563eb;
}

.hover\:bg-blue-700:hover {
    background-color: #1d4ed8;
}

.text-white {
    color: #fff;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.transition {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Grid Layout */
.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));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

/* Message Styles */
.p-4 {
    padding: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.bg-red-100 {
    background-color: #fee2e2;
}

.text-red-700 {
    color: #b91c1c;
}

.bg-green-100 {
    background-color: #dcfce7;
}

.text-green-700 {
    color: #15803d;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .p-6 {
        padding: 1rem;
    }
}


/* Data Consent Checkbox Container */
.ml-3 {
  margin-left: 0.75rem; /* 12px */
}

.text-sm {
  font-size: 0.875rem; /* 14px */
  line-height: 1.25rem; /* 20px */
}

/* Label Styling */
.font-medium {
  font-weight: 500;
}

.text-gray-700 {
  color: #374151;
}

/* Description Text */
.text-gray-500 {
  color: #6b7280;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Checkbox Styling */
input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 1rem;
  height: 1rem;
  border: 1px solid #97b0d6;
  border-radius: 0.25rem;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

input[type="checkbox"]:checked {
  background-color: #2563eb;
  border-color: #2563eb;
}

input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.25rem;
  height: 0.5rem;
  border: solid rgb(255, 255, 255);
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}

input[type="checkbox"]:focus {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
  border-color: #2563eb;
}