/* Emphasized subtitle for booking confirmation */
.booking-subtitle--emphasis {
  color: #2c3e50 !important;
  font-size: 1.15rem;
  font-weight: 600;
  background: #fffbe6;
  border-radius: 6px;
  padding: 1.1rem 1.5rem;
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px rgba(44,62,80,0.06);
  display: inline-block;
}
/* ========================================
   Honorary Consulate of Sri Lanka Theme - Custom Styles
   ======================================== */

:root {
    --primary-color: #C49E5F;
    --primary-dark: #8B6F47;
    --secondary-color: #2c3e50;
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --danger-color: #d9534f;
    --success-color: #5cb85c;
}

/* Override Bootstrap button styles */
.btn {
    text-decoration: none !important;
}

.btn:hover,
.btn:focus,
.btn:active {
    text-decoration: none !important;
}
    --border-color: #e0e0e0;
    --danger-color: #d9534f;
    --success-color: #5cb85c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* ========================================
   NAVBAR & HEADER STYLES
   ======================================== */

.navbar {
    padding: .3rem 0;
    border-bottom: 2px solid var(--border-color);
}

/* Flag Container */
.flag-container {
    gap: 0.5rem;
}

.flag-img {
    height: 35px;
    width: auto;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.flag-img:hover {
    transform: scale(1.05);
}

.navbar-brand {
    margin-right: auto;
}

.navbar-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    margin-left: auto;
}

.emblem-logo {
    width: 60px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.1;
}

.brand-subtitle {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Contact Info in Header */
.contact-info {
    font-size: 0.95rem;
    color: var(--text-color);
    white-space: nowrap;
}

.contact-phone {
    font-weight: 600;
}

/* Appointment Button */
.btn-appointment {
    background-color: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    padding: 0.6rem 1.5rem !important;
    font-weight: 600 !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.btn-appointment:hover,
.btn-appointment:focus,
.btn-appointment:active {
    background-color: var(--primary-dark) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    text-decoration: none;
}

/* Navigation Links */
.navbar-nav {
    flex-wrap: nowrap !important;
    white-space: nowrap;
}

.nav-item {
    margin: 0 !important;
}

.nav-link {
    font-weight: 500 !important;
    color: var(--text-color) !important;
    margin: 0 !important;
    padding: 0.5rem 0.65rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 3px solid transparent !important;
    transition: all 0.3s ease !important;
    position: relative;
    font-size: 0.95rem !important;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary-color) !important;
    border-bottom-color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
    border-bottom-color: var(--primary-color) !important;
    font-weight: 700 !important;
}

/* ========================================
   HERO SECTION / CAROUSEL STYLES
   ======================================== */

.hero-section {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #000;
}

.hero-carousel {
    height: 100%;
    position: relative;
}

.carousel-inner {
    height: 100%;
    position: relative;
}

.carousel-item {
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 90%;
    max-width: 800px;
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.hero-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Override Bootstrap button defaults for custom buttons */
.btn.btn-appointment-lg {
    background-color: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    padding: 0.75rem 2rem !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    font-size: 1rem !important;
    text-decoration: none;
}

.btn.btn-appointment-lg:hover,
.btn.btn-appointment-lg:focus,
.btn.btn-appointment-lg:active {
    background-color: var(--primary-dark) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    text-decoration: none;
    box-shadow: none !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 5px;
}

.carousel-indicators button.active {
    background-color: white;
}

/* ========================================
   NEWS TICKER
   ======================================== */

.news-ticker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background-color: rgba(196, 158, 95, 0.43);
    display: flex;
    align-items: center;
    z-index: 20;
    overflow: hidden;
}

.news-ticker__track-wrapper {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
}

.news-ticker__track {
    display: flex;
    white-space: nowrap;
    animation: ticker-scroll 30s linear infinite;
}

.news-ticker__track:hover {
    animation-play-state: paused;
}

.news-ticker__content {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    padding-right: 80px;
    display: inline-block;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   CONTENT SECTION STYLES
   ======================================== */

.content-section {
    background: #fff;
}

.sections-content {
    background: #fff;
}

.section-header {
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 1.5rem;
}

.section-title {
    color: var(--primary-dark);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

/* Card Styles */
.card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.card-image-wrapper {
    height: 250px;
    overflow: hidden;
    background: #f0f0f0;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.card-title {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.card-text {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-footer {
    padding: 1rem;
}

.card-footer a {
    color: white;
    background-color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 500;
}

.card-footer a:hover {
    background-color: var(--primary-dark);
    transform: translateX(3px);
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.footer {
    background-color: #1a1a1a;
    border-top: 3px solid var(--primary-color);
    margin-top: 4rem;
}

.footer h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(196, 158, 95, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 1024px) {
    .hero-section {
        height: 400px;
    }

    .carousel-item {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .lead {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar-right {
        align-items: flex-start;
    }

    .contact-info {
        display: none;
    }

    .flag-img {
        height: 28px;
    }

    .hero-section {
        height: 300px;
    }

    .carousel-item {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content .lead {
        font-size: 0.9rem;
    }

    .page-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .flag-img {
        height: 24px;
    }

    .flag-container {
        gap: 0.3rem;
    }

    .hero-section {
        height: 250px;
    }

    .carousel-item {
        height: 250px;
    }

    .hero-content h1 {
        font-size: 1.2rem;
    }

    .hero-content .lead {
        display: none;
    }

    .page-title {
        font-size: 1.4rem;
    }
}

/* ========================================
   SECTION SUBTITLE & TEXT
   ======================================== */

.section-subtitle {
    font-size: 1rem;
    color: #666;
}

.section-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
}

/* ========================================
   ALERT / WARNING BOX
   ======================================== */

.alert-custom {
    background-color: #FEF3CD !important;
    border: 1px solid #FFC107 !important;
    border-radius: 4px !important;
    padding: 1.5rem !important;
    color: #856404 !important;
}

.alert-custom .alert-icon {
    font-size: 1.3rem !important;
    color: #C49E5F !important;
    flex-shrink: 0 !important;
    margin-top: 0.2rem !important;
}

.alert-custom strong {
    color: #856404 !important;
}

.alert-custom div {
    color: #856404 !important;
}

/* ========================================
   SERVICE CARDS
   ======================================== */

.service-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

.service-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0;
}

/* ========================================
   INFO BOXES (Office Hours & Contact)
   ======================================== */

.info-box {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.info-box-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.75rem;
}

.info-box-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-dark);
}

/* ========================================
   SERVICE IMAGE CARDS (NEW - FOR FRONT PAGE)
   ======================================== */

.service-image-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.service-image-wrapper {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-image-card:hover .service-image-wrapper img {
    transform: scale(1.1);
}

.service-image-card .card-body {
    padding: 2rem;
}

.service-image-card .card-title {
    color: var(--primary-dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-image-card .card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

.service-image-card .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.6rem 2rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.service-image-card .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ========================================
   LEADERSHIP CARDS (FOR FRONT PAGE)
   ======================================== */

.leadership-card {
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 10px;
}

.leadership-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.leadership-image-wrapper {
    height: 300px;
    overflow: hidden;
    position: relative;
    background-color: #f5f5f5;
}

.leadership-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.leadership-card:hover .leadership-image-wrapper img {
    transform: scale(1.05);
}

.leadership-card .card-body {
    padding: 1.5rem;
}

.leadership-role {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.leadership-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.3;
    margin-bottom: 1rem;
    min-height: 48px;
}

.leadership-card .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    padding: 0.4rem 1.5rem;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.leadership-card .btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   MY BOOKINGS PAGE STYLES
   ======================================== */

.my-bookings-container {
    background: linear-gradient(135deg, rgba(196, 158, 95, 0.05) 0%, rgba(44, 62, 80, 0.05) 100%);
    min-height: 70vh;
    padding: 2rem 0;
}

.bookings-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, rgba(44, 62, 80, 0.9) 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
    margin-bottom: 2rem;
}

.bookings-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bookings-title i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.bookings-subtitle {
    font-size: 1.1rem;
    margin: 0.5rem 0 0 0;
    opacity: 0.95;
}

/* Table Styling */
.bookings-table-wrapper {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.bookings-table {
    margin: 0;
}

.bookings-table-head {
    background: linear-gradient(135deg, var(--secondary-color) 0%, rgba(44, 62, 80, 0.95) 100%);
    color: white;
}

.bookings-table-head th {
    border: none;
    font-weight: 700;
    padding: 1.2rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.bookings-table-body tr {
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.bookings-table-body tr:hover {
    background-color: rgba(196, 158, 95, 0.08);
    box-shadow: inset 0 0 10px rgba(196, 158, 95, 0.1);
}

.bookings-table-body tr:last-child {
    border-bottom: none;
}

.booking-cell {
    padding: 1.2rem;
    vertical-align: middle;
    color: var(--text-color);
}

/* Delete Button Styling */
.button--danger {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}

.button--danger:hover {
    background-color: #c82333 !important;
    border-color: #c82333 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3) !important;
}

.button--danger i {
    margin-right: 0.3rem;
}

/* Empty State Styling */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #999;
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.6;
}

.empty-state h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.empty-state p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

/* Footer Link */
.bookings-footer {
    text-align: center;
}

.btn-back {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(196, 158, 95, 0.2);
}

.btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 158, 95, 0.4);
    color: white;
    text-decoration: none;
}

.btn-back i {
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bookings-title {
        font-size: 1.5rem;
    }

    .bookings-header {
        padding: 1.5rem;
    }

    .bookings-table-head th {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }

    .booking-cell {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }

    .button--danger {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.8rem !important;
    }

    .table-responsive {
        font-size: 0.9rem;
    }
}

/* ========================================
   LOGIN FORM STYLES - ONLY FOR LOGIN PAGE
   ======================================== */

/* On login page only: full page centered layout */
body.page-user-login {
  background: linear-gradient(135deg, rgba(196, 158, 95, 0.05) 0%, rgba(44, 62, 80, 0.05) 100%) !important;
  height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.page-user-login .page {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

body.page-user-login #block-hcsl-theme-content {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  background: transparent !important;
}

#block-hcsl-theme-content .user-login-form {
  width: 320px !important;
  max-width: 100% !important;
  padding: 2rem !important;
  background: white !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(44, 62, 80, 0.15) !important;
  box-sizing: border-box !important;
  display: block !important;
  margin: 0 auto !important;
}

.login-form-wrapper {
  width: 320px !important;
  margin: 0 auto !important;
  background: white !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(44, 62, 80, 0.15) !important;
}

.register-link-section {
  margin-top: 1.8rem !important;
  padding: 1.5rem 2rem !important;
  border-top: 2px solid #e0e0e0 !important;
  text-align: center !important;
}

.register-link-text {
  font-size: 0.95rem !important;
  color: #555 !important;
  margin: 0 !important;
  display: block !important;
}

.register-link-btn {
  color: #C49E5F !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  border-bottom: 2px solid #C49E5F !important;
  margin-left: 0.3rem !important;
  transition: all 0.3s ease !important;
}

.register-link-btn:hover {
  color: #2c3e50 !important;
  border-bottom-color: #2c3e50 !important;
}

.login-info-box {
  padding: 1.2rem 2rem !important;
  background: linear-gradient(135deg, rgba(196, 158, 95, 0.08) 0%, rgba(44, 62, 80, 0.05) 100%) !important;
  border-left: 4px solid #C49E5F !important;
  text-align: center !important;
  color: #555 !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.login-info-box i {
  color: #C49E5F !important;
  margin-right: 0.5rem !important;
}

/* ========================================
   REGISTER FORM STYLES - ONLY FOR REGISTER PAGE
   ======================================== */

/* On register page: full page centered layout */
body.page-user-register {
  background: linear-gradient(135deg, rgba(196, 158, 95, 0.05) 0%, rgba(44, 62, 80, 0.05) 100%) !important;
  height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.page-user-register .page {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

body.page-user-register #block-hcsl-theme-content {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  background: transparent !important;
}

#block-hcsl-theme-content .user-register-form {
  width: 460px !important;
  max-width: 100% !important;
  padding: 2.5rem !important;
  background: white !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(44, 62, 80, 0.15) !important;
  box-sizing: border-box !important;
  display: block !important;
  margin: 0 auto !important;
}

.register-form-wrapper {
  width: 460px !important;
  margin: 0 auto !important;
  background: white !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(44, 62, 80, 0.15) !important;
}

.user-register-form .js-form-item,
.user-register-form .form-item {
  margin-bottom: 1.8rem !important;
  padding: 0 !important;
}

.user-register-form .form-item label {
  display: block !important;
  font-weight: 600 !important;
  color: #2c3e50 !important;
  margin-bottom: 0.6rem !important;
  font-size: 0.95rem !important;
}

.user-register-form .form-item label i {
  margin-right: 0.5rem !important;
  color: #C49E5F !important;
}

.user-register-form input[type="text"],
.user-register-form input[type="email"],
.user-register-form input[type="password"],
.user-register-form textarea {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0.7rem 0.9rem !important;
  border: 2px solid #ddd !important;
  border-radius: 6px !important;
  font-size: 0.95rem !important;
  transition: all 0.3s ease !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
  background: #fff !important;
  height: auto !important;
}

.user-register-form input[type="text"]:focus,
.user-register-form input[type="email"]:focus,
.user-register-form input[type="password"]:focus,
.user-register-form textarea:focus {
  outline: none !important;
  border-color: #C49E5F !important;
  box-shadow: 0 0 0 3px rgba(196, 158, 95, 0.15) !important;
  background-color: rgba(196, 158, 95, 0.01) !important;
}

.user-register-form .form-actions,
.user-register-form #edit-actions {
  margin-top: 2rem !important;
  padding: 0 !important;
  border: none !important;
}

.user-register-form input[type="submit"],
.user-register-form .button {
  background: linear-gradient(135deg, #C49E5F 0%, #2c3e50 100%) !important;
  color: white !important;
  border: none !important;
  padding: 0.8rem 1.6rem !important;
  border-radius: 6px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 4px 12px rgba(196, 158, 95, 0.3) !important;
  width: 100% !important;
  height: auto !important;
}

.user-register-form input[type="submit"]:hover,
.user-register-form .button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(196, 158, 95, 0.4) !important;
}

/* Login link section */
.login-link-section {
  margin-top: 1.8rem !important;
  padding: 1.5rem 2rem !important;
  border-top: 2px solid #e0e0e0 !important;
  text-align: center !important;
}

.login-link-text {
  font-size: 0.95rem !important;
  color: #555 !important;
  margin: 0 !important;
  display: block !important;
}

.login-link-btn {
  color: #C49E5F !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  border-bottom: 2px solid #C49E5F !important;
  margin-left: 0.3rem !important;
  transition: all 0.3s ease !important;
}

.login-link-btn:hover {
  color: #2c3e50 !important;
  border-bottom-color: #2c3e50 !important;
}

/* Registration info message at top of form */
.registration-info-message {
  background-color: #e3f2fd !important;
  border: 1px solid #90caf9 !important;
  border-left: 4px solid #2196f3 !important;
  padding: 1rem 1.2rem !important;
  margin-bottom: 1.5rem !important;
  border-radius: 4px !important;
  color: #1565c0 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
}

.registration-info-message strong {
  font-weight: 700 !important;
  display: block !important;
  margin-bottom: 0.3rem !important;
}

/* ========================================
   PASSWORD RESET FORM STYLES
   ======================================== */

/* Full page centered layout for password reset */
body.page-user-reset {
  background: linear-gradient(135deg, rgba(196, 158, 95, 0.05) 0%, rgba(44, 62, 80, 0.05) 100%) !important;
}

body.page-user-reset main.main-content {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 60vh !important;
  margin: 0 !important;
  padding: 3rem 1rem !important;
}

body.page-user-reset #block-hcsl-theme-content {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  background: transparent !important;
}

/* Wrapper card */
.reset-pass-form-wrapper {
  width: 420px !important;
  margin: 0 auto !important;
  background: white !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(44, 62, 80, 0.15) !important;
  overflow: hidden !important;
}

/* Key icon at top */
.reset-pass-icon {
  text-align: center !important;
  padding: 2rem 2rem 0.5rem !important;
}

.reset-pass-icon i {
  font-size: 2.5rem !important;
  color: #C49E5F !important;
  background: linear-gradient(135deg, rgba(196, 158, 95, 0.12) 0%, rgba(44, 62, 80, 0.08) 100%) !important;
  width: 70px !important;
  height: 70px !important;
  line-height: 70px !important;
  border-radius: 50% !important;
  display: inline-block !important;
}

/* Form inside wrapper */
.reset-pass-form-wrapper .user-pass-reset-form,
.reset-pass-form-wrapper #user-pass-reset {
  padding: 1.5rem 2rem 2rem !important;
  background: white !important;
  border: none !important;
  box-shadow: none !important;
}

/* Main message text */
.reset-pass-form-wrapper p,
#user-pass-reset p {
  font-size: 0.95rem !important;
  color: #555 !important;
  line-height: 1.7 !important;
  margin-bottom: 0.8rem !important;
  text-align: center !important;
}

/* Username placeholder - fix grey unreadable text */
.reset-pass-form-wrapper em.placeholder,
.reset-pass-form-wrapper em,
.reset-pass-form-wrapper strong,
#user-pass-reset em.placeholder,
#user-pass-reset em,
#user-pass-reset strong {
  color: #2c3e50 !important;
  font-weight: 700 !important;
  font-style: normal !important;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  border: none !important;
  text-decoration: underline !important;
  text-decoration-color: #C49E5F !important;
}

/* Log in button */
.reset-pass-form-wrapper .form-actions,
.reset-pass-form-wrapper #edit-actions,
#user-pass-reset .form-actions,
#user-pass-reset #edit-actions {
  margin-top: 1.5rem !important;
  padding: 0 !important;
  border: none !important;
}

.reset-pass-form-wrapper input[type="submit"],
.reset-pass-form-wrapper .button,
#user-pass-reset input[type="submit"],
#user-pass-reset .button {
  background: linear-gradient(135deg, #C49E5F 0%, #2c3e50 100%) !important;
  color: white !important;
  border: none !important;
  padding: 0.8rem 1.6rem !important;
  border-radius: 6px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 4px 12px rgba(196, 158, 95, 0.3) !important;
  width: 100% !important;
  height: auto !important;
}

.reset-pass-form-wrapper input[type="submit"]:hover,
.reset-pass-form-wrapper .button:hover,
#user-pass-reset input[type="submit"]:hover,
#user-pass-reset .button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(196, 158, 95, 0.4) !important;
}

/* Info box at bottom */
.reset-pass-info-box {
  padding: 1.2rem 2rem !important;
  background: linear-gradient(135deg, rgba(196, 158, 95, 0.08) 0%, rgba(44, 62, 80, 0.05) 100%) !important;
  border-left: 4px solid #C49E5F !important;
  text-align: center !important;
  color: #555 !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.reset-pass-info-box i {
  color: #C49E5F !important;
  margin-right: 0.5rem !important;
}

/* Hide page title on reset page */
body.page-user-reset .page-title,
body.page-user-reset h1.page-title,
body.page-user-reset .block-page-title-block {
  display: none !important;
}

/* Responsive */
@media (max-width: 480px) {
  .reset-pass-form-wrapper {
    width: 95% !important;
    margin: 1rem auto !important;
  }
}

/* ========================================
   USER FORM STATUS MESSAGES (ERRORS, WARNINGS, SUCCESS)
   ======================================== */

/* Error messages inside user forms */
.user-register-form [data-drupal-messages],
.user-form [data-drupal-messages],
.user-login-form [data-drupal-messages] {
  margin-bottom: 1.5rem !important;
  width: 100% !important;
}

.user-register-form [role="contentinfo"],
.user-form [role="contentinfo"],
.user-login-form [role="contentinfo"] {
  width: 100% !important;
}

.user-register-form [role="alert"],
.user-form [role="alert"],
.user-login-form [role="alert"] {
  padding: 1rem 1.2rem !important;
  border-radius: 6px !important;
  margin-bottom: 1rem !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  position: relative !important;
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Error message styling (red) */
.user-register-form [role="contentinfo"][aria-label*="Error"],
.user-form [role="contentinfo"][aria-label*="Error"],
.user-login-form [role="contentinfo"][aria-label*="Error"] {
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.08) 0%, rgba(211, 47, 47, 0.05) 100%) !important;
  border: 1px solid #fcc !important;
  border-left: 4px solid #d32f2f !important;
  color: #c62828 !important;
  padding: 1rem 1.2rem !important;
  border-radius: 6px !important;
  margin-bottom: 1rem !important;
}

/* Remove inner alert styling for errors */
.user-register-form [role="contentinfo"][aria-label*="Error"] [role="alert"],
.user-form [role="contentinfo"][aria-label*="Error"] [role="alert"],
.user-login-form [role="contentinfo"][aria-label*="Error"] [role="alert"] {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Warning message styling (yellow/orange) */
.user-register-form [role="contentinfo"][aria-label*="Warning"],
.user-form [role="contentinfo"][aria-label*="Warning"],
.user-login-form [role="contentinfo"][aria-label*="Warning"] {
  background: linear-gradient(135deg, rgba(245, 124, 0, 0.08) 0%, rgba(245, 124, 0, 0.05) 100%) !important;
  border: 1px solid #ffe0b2 !important;
  border-left: 4px solid #f57c00 !important;
  color: #e65100 !important;
  padding: 1rem 1.2rem !important;
  border-radius: 6px !important;
  margin-bottom: 1rem !important;
}

/* Remove inner alert styling for warnings */
.user-register-form [role="contentinfo"][aria-label*="Warning"] [role="alert"],
.user-form [role="contentinfo"][aria-label*="Warning"] [role="alert"],
.user-login-form [role="contentinfo"][aria-label*="Warning"] [role="alert"] {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Success message styling (green) */
.user-register-form [role="contentinfo"][aria-label*="Status"],
.user-form [role="contentinfo"][aria-label*="Status"],
.user-login-form [role="contentinfo"][aria-label*="Status"] {
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.08) 0%, rgba(46, 125, 50, 0.05) 100%) !important;
  border: 1px solid #c8e6c9 !important;
  border-left: 4px solid #388e3c !important;
  color: #2e7d32 !important;
  padding: 1rem 1.2rem !important;
  border-radius: 6px !important;
  margin-bottom: 1rem !important;
}

/* Remove inner alert styling for success */
.user-register-form [role="contentinfo"][aria-label*="Status"] [role="alert"],
.user-form [role="contentinfo"][aria-label*="Status"] [role="alert"],
.user-login-form [role="contentinfo"][aria-label*="Status"] [role="alert"] {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Hide the "Error message" heading */
.user-register-form .visually-hidden,
.user-form .visually-hidden,
.user-login-form .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Style the placeholder (username) inside error message */
.user-register-form [role="alert"] .placeholder,
.user-form [role="alert"] .placeholder,
.user-login-form [role="alert"] .placeholder,
.user-register-form [role="alert"] em,
.user-form [role="alert"] em,
.user-login-form [role="alert"] em {
  font-weight: 700 !important;
  font-style: normal !important;
  color: #b71c1c !important;
  background-color: transparent !important;
  padding: 0 !important;
  border: none !important;
}

/* Make sure all text in error messages is visible */
.user-register-form [role="contentinfo"][aria-label*="Error"] [role="alert"] *,
.user-form [role="contentinfo"][aria-label*="Error"] [role="alert"] *,
.user-login-form [role="contentinfo"][aria-label*="Error"] [role="alert"] * {
  color: inherit !important;
}

/* Register info box */
.register-info-box {
  padding: 1.2rem 2rem !important;
  background: linear-gradient(135deg, rgba(196, 158, 95, 0.08) 0%, rgba(44, 62, 80, 0.05) 100%) !important;
  border-left: 4px solid #C49E5F !important;
  text-align: center !important;
  color: #555 !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.register-info-box i {
  color: #C49E5F !important;
  margin-right: 0.5rem !important;
}

/* ========================================
   USER EDIT FORM STYLES
   ======================================== */

/* User edit page centered layout */
body.page-user-edit {
  background: linear-gradient(135deg, rgba(196, 158, 95, 0.05) 0%, rgba(44, 62, 80, 0.05) 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh !important;
}

body.page-user-edit .page {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh !important;
  width: 100% !important;
}

body.page-user-edit #block-hcsl-theme-content {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 2rem 1rem !important;
  background: transparent !important;
}

#user-form.user-edit-form {
  width: 380px !important;
  max-width: calc(100% - 2rem) !important;
  margin: 0 auto !important;
  padding: 2.5rem !important;
  background: white !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(44, 62, 80, 0.15) !important;
  box-sizing: border-box !important;
  display: block !important;
}

body.page-user-edit #block-hcsl-theme-content .user-edit-form {
  width: 380px !important;
  max-width: calc(100% - 2rem) !important;
  margin: 0 auto !important;
  padding: 2.5rem !important;
  background: white !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(44, 62, 80, 0.15) !important;
  box-sizing: border-box !important;
}

.user-edit-form-wrapper {
  width: 380px !important;
  max-width: calc(100% - 2rem) !important;
  margin: 0 auto !important;
  background: white !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(44, 62, 80, 0.15) !important;
  overflow: hidden !important;
  padding: 2.5rem !important;
  box-sizing: border-box !important;
}

.user-edit-header {
  text-align: center !important;
  margin-bottom: 2rem !important;
  padding-bottom: 1.5rem !important;
  border-bottom: 3px solid #C49E5F !important;
}

.user-edit-header h2 {
  font-size: 2rem !important;
  color: #2c3e50 !important;
  margin: 0 !important;
  font-weight: 700 !important;
}

.user-edit-subtitle {
  font-size: 0.95rem !important;
  color: #666 !important;
  margin-top: 0.5rem !important;
  margin-bottom: 0 !important;
}

.form-section {
  margin-bottom: 2rem !important;
  padding-bottom: 2rem !important;
  border-bottom: 1px solid #e0e0e0 !important;
}

.form-section:last-of-type {
  border-bottom: none !important;
  margin-bottom: 1.5rem !important;
  padding-bottom: 0 !important;
}

.form-section-title {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #2c3e50 !important;
  margin: 0 0 1.5rem 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.user-edit-form .js-form-item,
.user-edit-form .form-item {
  margin-bottom: 1.8rem !important;
  padding: 0 !important;
}

.user-edit-form .form-item label {
  display: block !important;
  font-weight: 600 !important;
  color: #2c3e50 !important;
  margin-bottom: 0.6rem !important;
  font-size: 0.95rem !important;
}

.form-label i {
  margin-right: 0.5rem !important;
  color: #C49E5F !important;
}

.user-edit-form input[type="text"],
.user-edit-form input[type="email"],
.user-edit-form input[type="password"],
.user-edit-form textarea {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0.7rem 0.9rem !important;
  border: 2px solid #ddd !important;
  border-radius: 6px !important;
  font-size: 0.95rem !important;
  transition: all 0.3s ease !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
  background: #fff !important;
  height: auto !important;
}

.user-edit-form input[type="text"]:focus,
.user-edit-form input[type="email"]:focus,
.user-edit-form input[type="password"]:focus,
.user-edit-form textarea:focus {
  outline: none !important;
  border-color: #C49E5F !important;
  box-shadow: 0 0 0 3px rgba(196, 158, 95, 0.15) !important;
  background-color: rgba(196, 158, 95, 0.01) !important;
}

.user-edit-form .form-actions {
  margin-top: 2rem !important;
  padding: 0 !important;
  border: none !important;
}

/* Hide timezone and language sections */
#user-form #edit-timezone,
#user-form #edit-language {
  display: none !important;
}

.user-edit-form input[type="submit"],
.user-edit-form .button {
  background: linear-gradient(135deg, #C49E5F 0%, #2c3e50 100%) !important;
  color: white !important;
  border: none !important;
  padding: 0.8rem 1.6rem !important;
  border-radius: 6px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 4px 12px rgba(196, 158, 95, 0.3) !important;
  width: 100% !important;
  height: auto !important;
  margin-right: 1rem !important;
  margin-bottom: 0.5rem !important;
}

.user-edit-form input[type="submit"]:last-of-type,
.user-edit-form .button:last-of-type {
  margin-right: 0 !important;
}

.user-edit-form input[type="submit"]:hover,
.user-edit-form .button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(196, 158, 95, 0.4) !important;
}

.user-edit-info-box {
  margin-top: 1.5rem !important;
  padding: 1.2rem !important;
  background: linear-gradient(135deg, rgba(196, 158, 95, 0.08) 0%, rgba(44, 62, 80, 0.05) 100%) !important;
  border-left: 4px solid #C49E5F !important;
  border-radius: 4px !important;
  text-align: center !important;
  color: #555 !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
}

.user-edit-info-box i {
  color: #C49E5F !important;
  margin-right: 0.5rem !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .user-edit-form-wrapper {
    width: 95% !important;
    padding: 1.8rem !important;
  }

  .user-edit-header h2 {
    font-size: 1.6rem !important;
  }

  .user-edit-form input[type="text"],
  .user-edit-form input[type="email"],
  .user-edit-form input[type="password"] {
    padding: 0.6rem 0.7rem !important;
    font-size: 0.9rem !important;
  }

  .user-edit-form input[type="submit"],
  .user-edit-form .button {
    padding: 0.7rem 1.4rem !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 480px) {
  .user-edit-form-wrapper {
    width: 95% !important;
    padding: 1.5rem !important;
  }

  .user-edit-header h2 {
    font-size: 1.4rem !important;
  }

  .user-edit-header {
    margin-bottom: 1.5rem !important;
    padding-bottom: 1.2rem !important;
  }

  .form-section {
    margin-bottom: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .user-edit-form input[type="text"],
  .user-edit-form input[type="email"],
  .user-edit-form input[type="password"] {
    padding: 0.5rem 0.6rem !important;
    font-size: 0.85rem !important;
  }

  .user-edit-form input[type="submit"],
  .user-edit-form .button {
    padding: 0.6rem 1.2rem !important;
    font-size: 0.85rem !important;
  }
}

.login-form-header {
  text-align: center !important;
  margin-bottom: 2rem !important;
  padding-bottom: 1.5rem !important;
  border-bottom: 3px solid #C49E5F !important;
}

.login-form-header h2 {
  font-size: 2rem !important;
  color: #2c3e50 !important;
  margin: 0 !important;
  font-weight: 700 !important;
}

.login-form-subtitle {
  font-size: 1rem !important;
  color: #666 !important;
  margin-top: 0.5rem !important;
}

/* Form Content */
.login-form-content {
  width: 100% !important;
}

/* Form Groups */
.login-form-group {
  margin-bottom: 1.8rem !important;
  width: 100% !important;
}

.login-form-label {
  display: block !important;
  font-weight: 600 !important;
  color: #2c3e50 !important;
  margin-bottom: 0.6rem !important;
  font-size: 0.95rem !important;
}

.login-form-label i {
  margin-right: 0.5rem !important;
  color: #C49E5F !important;
}

/* Form Fields */
.login-form-field {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Override Drupal form-item wrapper */
.login-form-group .form-item {
  margin: 0 !important;
}

.login-form-group .form-item label {
  display: none !important;
}

.login-form-field input[type="text"],
.login-form-field input[type="email"],
.login-form-field input[type="password"],
.login-form-content input[type="text"],
.login-form-content input[type="email"],
.login-form-content input[type="password"],
input#edit-name,
input#edit-pass {
  width: 100% !important;
  padding: 0.7rem 0.9rem !important;
  border: 2px solid #ddd !important;
  border-radius: 6px !important;
  font-size: 0.95rem !important;
  transition: all 0.3s ease !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
  background: #fff !important;
  height: auto !important;
}

.login-form-field input[type="text"]:focus,
.login-form-field input[type="email"]:focus,
.login-form-field input[type="password"]:focus,
.login-form-content input[type="text"]:focus,
.login-form-content input[type="email"]:focus,
.login-form-content input[type="password"]:focus,
input#edit-name:focus,
input#edit-pass:focus {
  outline: none !important;
  border-color: #C49E5F !important;
  box-shadow: 0 0 0 3px rgba(196, 158, 95, 0.15) !important;
  background-color: rgba(196, 158, 95, 0.01) !important;
}

/* Submit Button */
.login-form-actions {
  margin-top: 2rem !important;
  display: flex !important;
  gap: 1rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.login-form-actions input[type="submit"],
.login-form-actions .button,
input#edit-submit {
  background: linear-gradient(135deg, #C49E5F 0%, #2c3e50 100%) !important;
  color: white !important;
  border: none !important;
  padding: 0.8rem 1.6rem !important;
  border-radius: 6px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  flex: 1 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 4px 12px rgba(196, 158, 95, 0.3) !important;
  display: inline-block !important;
  text-decoration: none !important;
  height: auto !important;
  min-height: 40px !important;
}

.login-form-actions input[type="submit"]:hover,
.login-form-actions .button:hover,
input#edit-submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(196, 158, 95, 0.4) !important;
}

/* Footer Section with Register Link */
.login-footer-section {
  margin-top: 1.8rem !important;
  padding-top: 1.8rem !important;
  border-top: 2px solid #e0e0e0 !important;
  text-align: center !important;
  display: block !important;
  visibility: visible !important;
}

.login-register-link {
  font-size: 0.95rem !important;
  color: #555 !important;
  margin: 0 !important;
  display: block !important;
  visibility: visible !important;
  line-height: 1.8 !important;
}

.register-button,
a.register-button {
  color: #C49E5F !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  transition: all 0.3s ease !important;
  margin-left: 0.3rem !important;
  display: inline !important;
  border-bottom: 2px solid #C49E5F !important;
  padding: 0 !important;
  background: none !important;
  cursor: pointer !important;
  font-size: inherit !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.register-button:hover,
a.register-button:hover {
  color: #2c3e50 !important;
  border-bottom: 2px solid #2c3e50 !important;
  text-decoration: none !important;
}

/* Override Drupal default form styling when form template is used */
body.page-user-login #block-hcsl-theme-content {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  width: 100% !important;
}



/* Target form groups with default Drupal classes */
.user-login-form .js-form-item,
.user-login-form .form-item {
  margin-bottom: 1.8rem !important;
  padding: 0 !important;
}

.user-login-form .form-item label {
  display: block !important;
  font-weight: 600 !important;
  color: #2c3e50 !important;
  margin-bottom: 0.6rem !important;
  font-size: 0.95rem !important;
}

.user-login-form .form-item label i {
  margin-right: 0.5rem !important;
  color: #C49E5F !important;
}

.user-login-form input[type="text"],
.user-login-form input[type="password"] {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0.7rem 0.9rem !important;
  border: 2px solid #ddd !important;
  border-radius: 6px !important;
  font-size: 0.95rem !important;
  transition: all 0.3s ease !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
  background: #fff !important;
  height: auto !important;
}

.user-login-form input[type="text"]:focus,
.user-login-form input[type="password"]:focus {
  outline: none !important;
  border-color: #C49E5F !important;
  box-shadow: 0 0 0 3px rgba(196, 158, 95, 0.15) !important;
  background-color: rgba(196, 158, 95, 0.01) !important;
}

/* Hide form actions wrapper but style submit button */
.user-login-form .form-actions,
.user-login-form #edit-actions {
  margin-top: 2rem !important;
  padding: 0 !important;
  border: none !important;
}

.user-login-form input[type="submit"],
.user-login-form .button {
  background: linear-gradient(135deg, #C49E5F 0%, #2c3e50 100%) !important;
  color: white !important;
  border: none !important;
  padding: 0.8rem 1.6rem !important;
  border-radius: 6px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 4px 12px rgba(196, 158, 95, 0.3) !important;
  width: 100% !important;
  height: auto !important;
}

.user-login-form input[type="submit"]:hover,
.user-login-form .button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(196, 158, 95, 0.4) !important;
}

/* Add header styling */
body.page-user-login #block-hcsl-theme-content::before {
  content: "Welcome Back" !important;
  display: block !important;
  text-align: center !important;
  font-size: 2rem !important;
  color: #2c3e50 !important;
  font-weight: 700 !important;
  margin-bottom: 2rem !important;
  padding-bottom: 1.5rem !important;
  border-bottom: 3px solid #C49E5F !important;
}



/* Mobile responsive for login form */
@media (max-width: 768px) {
  body.page-user-login #block-hcsl-theme-content .user-login-form {
    padding: 1.8rem !important;
    max-width: 95% !important;
  }

  body.page-user-login #block-hcsl-theme-content::before {
    font-size: 1.6rem !important;
    margin-bottom: 1.5rem !important;
  }

  .user-login-form .js-form-item,
  .user-login-form .form-item {
    margin-bottom: 1.2rem !important;
  }

  .user-login-form input[type="text"],
  .user-login-form input[type="password"] {
    padding: 0.6rem 0.7rem !important;
    font-size: 0.9rem !important;
  }

  .user-login-form input[type="submit"],
  .user-login-form .button {
    padding: 0.7rem 1.4rem !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 480px) {
  body.page-user-login #block-hcsl-theme-content {
    padding: 1.5rem 0.5rem !important;
  }

  body.page-user-login #block-hcsl-theme-content .user-login-form {
    padding: 1.5rem !important;
  }

  body.page-user-login #block-hcsl-theme-content::before {
    font-size: 1.4rem !important;
    margin-bottom: 1.2rem !important;
    padding-bottom: 1.2rem !important;
  }

  .user-login-form .js-form-item,
  .user-login-form .form-item {
    margin-bottom: 1rem !important;
  }

  .user-login-form input[type="text"],
  .user-login-form input[type="password"] {
    padding: 0.5rem 0.6rem !important;
    font-size: 0.85rem !important;
  }

  .user-login-form input[type="submit"],
  .user-login-form .button {
    padding: 0.6rem 1.2rem !important;
    font-size: 0.85rem !important;
  }
}
  border-left: 4px solid #C49E5F !important;
  border-radius: 4px !important;
  text-align: center !important;
  color: #555 !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
}

.login-info-message i {
  color: #C49E5F !important;
  margin-right: 0.5rem !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .login-page-wrapper {
    padding: 2rem 0.5rem !important;
  }

  .login-form-wrapper {
    padding: 1.8rem !important;
    max-width: 95% !important;
  }

  .login-form-header h2 {
    font-size: 1.6rem !important;
  }

  .login-form-label {
    font-size: 0.9rem !important;
  }

  .login-form-field input[type="text"],
  .login-form-field input[type="email"],
  .login-form-field input[type="password"],
  .login-form-content input[type="text"],
  .login-form-content input[type="email"],
  .login-form-content input[type="password"] {
    padding: 0.6rem 0.7rem !important;
    font-size: 0.9rem !important;
  }

  .login-form-actions input[type="submit"],
  .login-form-actions .button {
    padding: 0.7rem 1.4rem !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 480px) {
  .login-page-wrapper {
    padding: 1.5rem 0.25rem !important;
  }

  .login-form-wrapper {
    padding: 1.5rem !important;
  }

  .login-form-header {
    margin-bottom: 1.5rem !important;
    padding-bottom: 1.2rem !important;
  }

  .login-form-header h2 {
    font-size: 1.4rem !important;
  }

  .login-form-subtitle {
    font-size: 0.9rem !important;
  }

  .login-form-group {
    margin-bottom: 1.2rem !important;
  }

  .login-form-field input[type="text"],
  .login-form-field input[type="email"],
  .login-form-field input[type="password"],
  .login-form-content input[type="text"],
  .login-form-content input[type="email"],
  .login-form-content input[type="password"] {
    padding: 0.5rem 0.6rem !important;
    font-size: 0.85rem !important;
  }

  .login-form-actions input[type="submit"],
  .login-form-actions .button {
    padding: 0.6rem 1.2rem !important;
    font-size: 0.85rem !important;
  }

  .login-register-link {
    font-size: 0.85rem !important;
  }

  .login-info-message {
    padding: 0.9rem !important;
    font-size: 0.8rem !important;
  }
}

/* USER PROFILE PAGE STYLES */
body.page-user {
  background: linear-gradient(135deg, rgba(196, 158, 95, 0.05) 0%, rgba(44, 62, 80, 0.05) 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh !important;
}

body.page-user .page {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh !important;
  width: 100% !important;
}

body.page-user #block-hcsl-theme-content {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 2rem 1rem !important;
  background: transparent !important;
}

.user-profile-wrapper {
  width: 480px !important;
  max-width: calc(100% - 2rem) !important;
  margin: 0 auto !important;
  background: white !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(44, 62, 80, 0.15) !important;
  overflow: hidden !important;
  padding: 2.5rem !important;
  box-sizing: border-box !important;
}

.profile-header {
  text-align: center !important;
  margin-bottom: 2.5rem !important;
  padding-bottom: 2rem !important;
  border-bottom: 3px solid #C49E5F !important;
}

.profile-avatar {
  font-size: 4rem !important;
  color: #C49E5F !important;
  margin-bottom: 1rem !important;
}

.profile-name {
  font-size: 1.8rem !important;
  color: #2c3e50 !important;
  margin: 0.5rem 0 !important;
  font-weight: 700 !important;
}

.profile-email {
  font-size: 0.95rem !important;
  color: #666 !important;
  margin: 0.3rem 0 !important;
}

.profile-joined {
  font-size: 0.85rem !important;
  color: #999 !important;
  margin-top: 0.5rem !important;
  margin-bottom: 0 !important;
}

.profile-actions {
  display: flex !important;
  gap: 1rem !important;
  margin-bottom: 2.5rem !important;
  flex-wrap: wrap !important;
}

.profile-action-btn {
  flex: 1 !important;
  min-width: 140px !important;
  padding: 0.9rem 1.2rem !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  text-align: center !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  white-space: nowrap !important;
}

.profile-action-btn i {
  font-size: 1rem !important;
}

.edit-btn {
  background: linear-gradient(135deg, #C49E5F 0%, #b8893f 100%) !important;
  color: white !important;
  box-shadow: 0 2px 8px rgba(196, 158, 95, 0.3) !important;
}

.edit-btn:hover {
  background: linear-gradient(135deg, #d4ae7f 0%, #C49E5F 100%) !important;
  box-shadow: 0 4px 12px rgba(196, 158, 95, 0.4) !important;
  transform: translateY(-2px) !important;
}

.bookings-btn {
  background: linear-gradient(135deg, #2c3e50 0%, #1a232d 100%) !important;
  color: white !important;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.3) !important;
}

.bookings-btn:hover {
  background: linear-gradient(135deg, #3d4e62 0%, #2c3e50 100%) !important;
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.4) !important;
  transform: translateY(-2px) !important;
}

.logout-btn {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
  color: white !important;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3) !important;
}

.logout-btn:hover {
  background: linear-gradient(135deg, #ec7063 0%, #e74c3c 100%) !important;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4) !important;
  transform: translateY(-2px) !important;
}

.profile-details {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
  margin-bottom: 2rem !important;
}

.detail-card {
  background: #f8f9fa !important;
  border-radius: 8px !important;
  padding: 1.5rem !important;
  border-left: 4px solid #C49E5F !important;
}

.detail-title {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #2c3e50 !important;
  margin: 0 0 1rem 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.detail-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.8rem !important;
}

.detail-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-bottom: 0.8rem !important;
  border-bottom: 1px solid #e0e0e0 !important;
}

.detail-row:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.detail-label {
  font-weight: 600 !important;
  color: #2c3e50 !important;
  font-size: 0.9rem !important;
}

.detail-value {
  color: #666 !important;
  font-size: 0.9rem !important;
}

.action-description {
  margin: 0 0 0.8rem 0 !important;
  padding: 0.8rem !important;
  background: white !important;
  border-radius: 4px !important;
  font-size: 0.9rem !important;
  color: #666 !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.8rem !important;
}

.action-description i {
  color: #C49E5F !important;
  margin-top: 0.2rem !important;
  flex-shrink: 0 !important;
}

.action-description:last-child {
  margin-bottom: 0 !important;
}

.profile-info-box {
  background: linear-gradient(135deg, rgba(196, 158, 95, 0.1) 0%, rgba(44, 62, 80, 0.1) 100%) !important;
  border-left: 4px solid #C49E5F !important;
  padding: 1rem !important;
  border-radius: 4px !important;
  font-size: 0.85rem !important;
  color: #2c3e50 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.8rem !important;
}

.profile-info-box i {
  color: #C49E5F !important;
  font-size: 1.1rem !important;
  flex-shrink: 0 !important;
}

/* Responsive for tablets */
@media (max-width: 768px) {
  .user-profile-wrapper {
    width: 100% !important;
    max-width: calc(100% - 1rem) !important;
    padding: 2rem !important;
  }

  .profile-actions {
    flex-direction: column !important;
  }

  .profile-action-btn {
    flex: 1 !important;
    min-width: auto !important;
  }

  .detail-row {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* Responsive for mobile */
@media (max-width: 480px) {
  body.page-user #block-hcsl-theme-content {
    padding: 1rem !important;
  }

  .user-profile-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
  }

  .profile-header {
    margin-bottom: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .profile-avatar {
    font-size: 3rem !important;
  }

  .profile-name {
    font-size: 1.4rem !important;
  }

  .profile-actions {
    gap: 0.5rem !important;
    margin-bottom: 1.5rem !important;
  }

  .detail-card {
    padding: 1rem !important;
  }

  .detail-title {
    font-size: 0.85rem !important;
    margin-bottom: 0.8rem !important;
  }
}

/* CONTACT PAGE STYLES */
.contact-hero {
  background: linear-gradient(135deg, rgba(196, 158, 95, 0.7) 0%, rgba(44, 62, 80, 0.7) 100%);
  padding: 60px 20px !important;
  text-align: center !important;
  color: white !important;
  border-radius: 8px !important;
  margin-bottom: 40px !important;
}

.contact-hero h2 {
  font-size: 2.5rem !important;
  margin: 0 0 10px 0 !important;
  font-weight: 700 !important;
  font-family: 'Serif', Georgia, serif !important;
}

.contact-hero p {
  font-size: 1.1rem !important;
  margin: 0 !important;
  font-weight: 300 !important;
}

.contact-card {
  background: white !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(44, 62, 80, 0.15) !important;
  padding: 40px !important;
  margin-bottom: 40px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 20px !important;
}

.contact-card-logo {
  flex: 0 0 auto !important;
  order: -1 !important;
}

.contact-card-content {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
}

.contact-card-logo {
  flex-shrink: 0 !important;
  width: 120px !important;
  height: 120px !important;
  background: linear-gradient(135deg, #C49E5F 0%, #2c3e50 100%) !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 4rem !important;
  color: white !important;
  padding: 10px !important;
  box-sizing: border-box !important;
}

.contact-card-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  filter: brightness(1.2) !important;
}

.contact-card-content h3 {
  font-size: 1.5rem !important;
  color: #2c3e50 !important;
  margin: 0 0 20px 0 !important;
  font-family: 'Serif', Georgia, serif !important;
  font-weight: 700 !important;
}

.contact-card-centered {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.contact-card-centered .contact-info-item {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.contact-card-centered .contact-info-item i {
  margin-right: 10px !important;
  margin-left: 0 !important;
}

.contact-info-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 15px !important;
  margin-bottom: 15px !important;
  font-size: 0.95rem !important;
  color: #333 !important;
}

.contact-info-item i {
  color: #C49E5F !important;
  margin-top: 3px !important;
  font-size: 1.1rem !important;
  flex-shrink: 0 !important;
}

.contact-info-item strong {
  color: #2c3e50 !important;
  font-weight: 600 !important;
}

.contact-hours {
  margin-top: 15px !important;
  padding-top: 15px !important;
  border-top: 1px solid #e0e0e0 !important;
}

.contact-hours p {
  margin: 5px 0 !important;
  color: #333 !important;
  font-size: 0.95rem !important;
}

.book-appointment-btn {
  display: inline-block !important;
  background: linear-gradient(135deg, #C49E5F 0%, #b8893f 100%) !important;
  color: white !important;
  padding: 12px 30px !important;
  border-radius: 25px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  margin-top: 20px !important;
  box-shadow: 0 4px 12px rgba(196, 158, 95, 0.3) !important;
  transition: all 0.3s ease !important;
  border: none !important;
  cursor: pointer !important;
  font-size: 0.95rem !important;
}

.book-appointment-btn:hover {
  background: linear-gradient(135deg, #d4ae7f 0%, #C49E5F 100%) !important;
  box-shadow: 0 6px 16px rgba(196, 158, 95, 0.4) !important;
  transform: translateY(-2px) !important;
}

.section-title {
  font-size: 2rem !important;
  color: #2c3e50 !important;
  text-align: center !important;
  margin: 40px 0 30px 0 !important;
  font-family: 'Serif', Georgia, serif !important;
  font-weight: 700 !important;
  position: relative !important;
  padding-bottom: 15px !important;
}

.section-title::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 60px !important;
  height: 3px !important;
  background: linear-gradient(90deg, #C49E5F, #2c3e50) !important;
  border-radius: 2px !important;
}

.map-container {
  position: relative !important;
  width: 100% !important;
  height: 500px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 20px rgba(44, 62, 80, 0.15) !important;
  margin-bottom: 40px !important;
}

.map-container iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
}

.links-container {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 20px !important;
  margin-bottom: 40px !important;
}

.link-card {
  background: white !important;
  border-radius: 12px !important;
  padding: 25px !important;
  text-align: center !important;
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.1) !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  color: inherit !important;
  border: 2px solid transparent !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
}

.link-card:hover {
  border-color: #C49E5F !important;
  box-shadow: 0 4px 20px rgba(196, 158, 95, 0.2) !important;
  transform: translateY(-4px) !important;
}

.link-card-icon {
  font-size: 2.5rem !important;
  color: #C49E5F !important;
}

.link-card-logo {
  width: 60px !important;
  height: 60px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.link-card-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  filter: brightness(1.1) saturate(1.1) !important;
}

.link-card-title {
  font-weight: 600 !important;
  color: #2c3e50 !important;
  font-size: 0.95rem !important;
}

/* Contact Page Responsive */
@media (max-width: 768px) {
  .contact-card {
    flex-direction: column !important;
    padding: 25px !important;
  }

  .contact-card-logo {
    margin: 0 auto !important;
  }

  .contact-hero h2 {
    font-size: 1.8rem !important;
  }

  .section-title {
    font-size: 1.5rem !important;
  }

  .map-container {
    height: 300px !important;
  }

  .links-container {
    grid-template-columns: 1fr !important;
  }
}

/* Welcome Section Styles */
.welcome-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 60px 40px;
  margin-bottom: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.welcome-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}

.welcome-image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.welcome-image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.welcome-image-wrapper h4 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}

.welcome-image-wrapper p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

.welcome-image-wrapper img:hover {
  transform: scale(1.02);
}

.welcome-message-content {
  display: flex;
  flex-direction: column;
}

.welcome-message-content h2 {
  color: #003366;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.welcome-message-content p {
  color: #000;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
  text-align: justify;
}

.welcome-closing {
  margin-top: 25px;
  color: #444;
  font-size: 16px;
  line-height: 1.8;
}

.welcome-signature {
  margin-top: 30px;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  font-weight: 600;
}

.welcome-signature-title {
  color: #666;
  font-weight: 400;
  font-size: 14px;
  font-style: italic;
  line-height: 1.4;
  display: block;
}

/* Responsive Design for Welcome Section */
@media (max-width: 768px) {
  .welcome-section {
    padding: 40px 20px;
    margin-bottom: 30px;
  }

  .welcome-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .welcome-message-content h2 {
    font-size: 24px;
  }

  .welcome-message-content p,
  .welcome-closing {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .welcome-section {
    padding: 25px 15px;
    margin-bottom: 20px;
  }

  .welcome-message-content h2 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .welcome-message-content p,
  .welcome-closing {
    font-size: 14px;
    line-height: 1.6;
  }
}

/* ========================================
   IMPORTANT LINKS SLIDER STYLES
   ======================================== */

#important-links .links-slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

#important-links .links-slider-wrapper {
    overflow: hidden;
    width: 100%;
}

#important-links .links-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    will-change: transform;
}

#important-links .link-item {
    flex: 0 0 auto;
    width: calc(20% - 16px);
    display: block;
    transition: transform 0.3s ease;
    text-decoration: none;
}

#important-links .link-item:hover {
    transform: scale(1.05);
    text-decoration: none;
}

#important-links .link-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: block;
}

#important-links .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
}

#important-links .slider-btn:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#important-links .slider-btn:focus {
    outline: 2px solid var(--primary-color, #C49E5F);
    outline-offset: 2px;
}

#important-links .slider-prev {
    left: 0;
}

#important-links .slider-next {
    right: 0;
}

@media (max-width: 1199px) {
    #important-links .link-item {
        width: calc(25% - 15px);
    }
}

@media (max-width: 991px) {
    #important-links .link-item {
        width: calc(33.333% - 13.33px);
    }
}

@media (max-width: 767px) {
    #important-links .links-slider-container {
        padding: 0 50px;
    }
    #important-links .link-item {
        width: calc(50% - 10px);
    }
}

/* ========================================
   CONSULAR SERVICES PAGE STYLES
   ======================================== */

/* Consular Services Hero Section */
.consular-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    min-height: 50vh;
    position: relative;
}

.min-vh-50 {
    min-height: 50vh !important;
}

.consular-hero .hero-title {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.consular-hero .hero-subtitle {
    color: #f0f0f0;
}

/* Service Cards for Consular Services Page */
.consular-services .service-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e0e0e0;
}

.consular-services .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.consular-services .service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.consular-services .service-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.consular-services .service-card:hover .service-icon {
    background-color: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(196, 158, 95, 0.4);
}

.consular-services .service-title {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.consular-services .service-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Service card clickable links */
.consular-services a.text-decoration-none {
    display: block;
    height: 100%;
    color: inherit;
}

.consular-services a.text-decoration-none .service-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.consular-services a.text-decoration-none:hover .service-title {
    color: var(--primary-color);
}

.consular-services a.text-decoration-none:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
    border-radius: 8px;
}
.consular-services a.text-decoration-none {
    text-decoration: none !important;
}

.consular-services a.text-decoration-none .service-title {
    color: var(--primary-dark) !important;
}

.consular-services a.text-decoration-none .service-text {
    color: #666 !important;
}

.consular-services a.text-decoration-none .service-icon i {
    color: #ffffff !important;
}

.consular-services a.text-decoration-none:hover .service-title {
    color: var(--primary-color) !important;
}

/* Service Link - Force correct colors for clickable service cards */
a.service-link,
a.service-link:link,
a.service-link:visited,
a.service-link:active {
    color: inherit !important;
    text-decoration: none !important;
    display: block;
    height: 100%;
}

a.service-link .service-title {
    color: #8B6F47 !important;
}

a.service-link .service-text {
    color: #666 !important;
}

a.service-link .service-icon {
    background-color: #C49E5F !important;
}

a.service-link .service-icon i {
    color: #ffffff !important;
}

a.service-link:hover .service-title {
    color: #C49E5F !important;
}

a.service-link:hover .service-icon {
    background-color: #8B6F47 !important;
}
