body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f2f5;
    color: #333;
}

.landing-page .hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    border-bottom: 10px solid #ffde59;
}

.landing-page .hero-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.landing-page .hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.landing-page .btn-primary {
    background-color: #ffde59;
    border-color: #ffde59;
    color: #333;
    font-weight: bold;
    padding: 15px 30px;
    transition: all 0.3s ease;
}

.landing-page .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.landing-page section {
    padding: 80px 0;
}

.landing-page h2 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 50px;
    color: #333;
}

.landing-page .feature-icon {
    font-size: 4rem;
    color: #667eea;
    margin-bottom: 20px;
}

.landing-page .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.landing-page .card:hover {
    transform: translateY(-5px);
}

.landing-page .card-header {
    background-color: #667eea;
    color: white;
    font-weight: bold;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.landing-page .bg-light {
    background-color: #ffffff !important;
}

.landing-page footer {
    background-color: #333;
    color: white;
}

.landing-page footer a {
    color: #ffde59;
}

.landing-page footer a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .landing-page .hero-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .landing-page section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .landing-page .hero-section h1 {
        font-size: 2.5rem;
    }

    .landing-page .hero-section .lead {
        font-size: 1.2rem;
    }

    .landing-page h2 {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }

    /* Add vertical spacing for stacked columns on mobile */
    .landing-page .col-md-4,
    .landing-page .col-md-6 {
        margin-bottom: 2rem;
    }

    .landing-page .row .col-md-4:last-child,
    .landing-page .row .col-md-6:last-child {
        margin-bottom: 0;
    }

    /* Adjust card body padding on mobile */
    .landing-page .card-body {
        padding: 1.5rem;
    }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Custom styles for shared components - Override AdminLTE */

/* Card header layout - Override AdminLTE card styles */
.content-wrapper .card .card-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}

/* Card header actions alignment - Override AdminLTE */
.content-wrapper .card .card-header .d-flex {
  gap: 0.5rem !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
}

/* Ensure proper button spacing in card headers */
.content-wrapper .card .card-header .btn {
  white-space: nowrap !important;
}

/* Action buttons container - Override AdminLTE */
.content-wrapper .card .card-header .d-flex .btn:not(:last-child) {
  margin-right: 0.5rem !important;
}

/* Force right alignment for action buttons - Override AdminLTE */
.content-wrapper .card .card-header .d-flex.ml-auto {
  margin-left: auto !important;
  flex-shrink: 0 !important;
  justify-self: flex-end !important;
}

/* Card title should not take full width */
.content-wrapper .card .card-header .card-title {
  margin-bottom: 0 !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
}

/* Table row actions spacing */
.btn-xs {
  padding: 0.125rem 0.25rem !important;
  font-size: 0.75rem !important;
  line-height: 1.5 !important;
  border-radius: 0.125rem !important;
}

/* Required field styling for shared components */
.required::after {
  content: " *";
  color: #dc3545;
  font-weight: bold;
}

/* Error field styling */
.form-control.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.form-control.is-invalid:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.form-check-input.is-invalid {
  border-color: #dc3545 !important;
}

.form-check-input.is-invalid:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Error text styling */
.invalid-feedback {
  display: block !important;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Public Registry Form Styling */
.public-registry-form {
  max-width: 100%;
}

.public-registry-form .form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
}

.public-registry-form .btn-group-toggle .btn {
  transition: all 0.2s ease-in-out;
}

.public-registry-form .btn-group-toggle .btn.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.public-registry-form .btn-group-toggle .btn:not(.active) {
  background-color: transparent;
  color: #007bff;
  border-color: #007bff;
}

.public-registry-form .btn-group-toggle .btn:not(.active):hover {
  background-color: #e3f2fd;
}

/* Address fields component styling */
.address-fields {
  border-top: 1px solid #dee2e6;
  margin-top: 1rem;
  padding-top: 1rem;
}

/* Table action buttons styling */
.table-actions {
  text-align: center !important;
  white-space: nowrap !important;
}

.table-actions .btn {
  margin: 0 0.25rem !important;
}

.table-actions .btn:first-child {
  margin-left: 0 !important;
}

.table-actions .btn:last-child {
  margin-right: 0 !important;
}

/* Responsive button alignment */
@media (max-width: 576px) {
  .content-wrapper .card .card-header {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .content-wrapper .card .card-header .d-flex {
    margin-top: 0.5rem !important;
    align-self: flex-end !important;
    margin-left: auto !important;
    width: auto !important;
  }
}

/* Custom STyles */
.tree-grid .tree-toggle {
  cursor: pointer;
  text-decoration: none;
  color: #6c757d;
  margin-right: 0.5rem;
}

.tree-grid .tree-toggle .fa-caret-right {
  transition: transform 0.2s ease-in-out;
}

.tree-grid .tree-toggle[aria-expanded="true"] .fa-caret-right {
  transform: rotate(90deg);
}

.tree-grid .tree-toggle-placeholder {
  display: inline-block;
  width: 1em;
  margin-right: 0.5rem;
}


.contact-request-row .indented {
  padding-left: 2.5rem !important;
  border-top: none;
}

.contact-request-row > td {
  border-top: none;
}

.payment-request-row > td {
  border-bottom-width: 1px;
}

.contact-request-row:last-of-type > td {
  border-bottom: 1px solid #dee2e6;
}

.u-hidden {
  display: none;
}
