/* ==========================================================================
   Font Imports
   ========================================================================== */
@import url('https://fonts.cdnfonts.com/css/circular-std');
@import url('https://fonts.cdnfonts.com/css/bliss-pro');

/* ==========================================================================
   Color System
   ========================================================================== */
:root {
  /* Primary Colors */
  --primary: #333332;      /* DKGREY */
  --secondary: #7BAAC7;    /* BLUE */
  --success: #7BC7AA;      /* GREEN */
  --warning: #C7C67B;      /* YELLOW */
  --light: #F0F0EE;        /* LTGREY */
  --dark: #333332;         /* DKGREY */
  
  /* Hover States */
  --hover-bg: #696966;     /* HOVER BACKGROUND */
  --hover-text: #696966;   /* HOVER TEXT */
  
  /* Theme Colors */
  --body-bg: #f8f9fa;
  --card-bg: #ffffff;
  --border-color: #dee2e6;
  --text-muted: #6c757d;
  
  /* Shadow System */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  /* Border Radius */
  --border-radius: 0.25rem;
  --border-radius-lg: 0.5rem;
  --border-radius-xl: 1rem;
  
  /* Spacing */
  --spacer: 1rem;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Bliss Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--body-bg);
  color: var(--dark);
  line-height: 1.6;
  font-size: 14px;
}

body.menu-open {
  overflow: hidden;
}

#root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1 0 auto;
  padding: 2rem 0;
}

/* ==========================================================================
   Container
   ========================================================================== */
.container {
  width: 100%;
  padding-right: var(--spacer);
  padding-left: var(--spacer);
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container { max-width: 540px; }
}

@media (min-width: 768px) {
  .container { max-width: 720px; }
}

@media (min-width: 992px) {
  .container { max-width: 960px; }
}

@media (min-width: 1200px) {
  .container { max-width: 1140px; }
}

/* ==========================================================================
   Header Styles - EXACT MATCH TO REACT APP
   ========================================================================== */
.main-site-header {
  background-color: white;
  box-shadow: var(--shadow);
  position: sticky !important;
  top: 0;
  z-index: 1000;
  width: 100%;
}

/* Header layout */
.main-site-header .d-flex.justify-content-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Left side: Logo */
.main-site-header .d-flex.align-items-center:first-child {
  flex: 0 0 auto;
}

/* Center Navigation */
.desktop-nav-center {
  flex: 1 1 auto;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

/* Center Navigation Links - NO BACKGROUND, just text with underline */
.desktop-nav-center .nav-link {
  background-color: transparent !important;
  border: none !important;
  color: #333332 !important;
  font-size: 14px;
  font-weight: 500;
  padding: 0.5rem 0 !important;
  position: relative;
  text-decoration: none;
  font-family: 'Bliss Pro', sans-serif;
  transition: color 0.2s ease;
  box-shadow: none !important;
  outline: none !important;
}

/* Underline element for center nav links */
.desktop-nav-center .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #7BAAC7;
  transform: scaleX(0);
  transition: transform 0.2s ease-in-out;
  transform-origin: center;
}

/* Hover state - underline appears */
.desktop-nav-center .nav-link:hover::after {
  transform: scaleX(1);
}

/* Active state - permanent underline */
.desktop-nav-center .nav-link.active::after {
  transform: scaleX(1);
}

/* Hover state - text stays dark grey */
.desktop-nav-center .nav-link:hover {
  background-color: transparent !important;
  color: #333332 !important;
}

/* Active state - text stays dark grey */
.desktop-nav-center .nav-link.active {
  background-color: transparent !important;
  color: #333332 !important;
}

/* Right side: Contact button container */
.desktop-buttons-right {
  flex: 0 0 auto;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
}

/* Contact Button - KEEPS BACKGROUND COLOR - EXACT MATCH TO REACT BUTTONS */
.desktop-buttons-right .btn {
  background-color: #F0F0EE !important;
  border-color: #F0F0EE !important;
  color: #333332 !important;
  font-size: 14px;
  font-weight: 500;
  padding: 0.5rem 1.5rem !important;
  border-radius: 0.25rem;
  border: 1px solid transparent;
  transition: all 0.2s ease !important;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: 'Bliss Pro', sans-serif;
  margin-left: 1rem;
}

/* Contact Button Hover - EXACT MATCH TO REACT HOVER */
.desktop-buttons-right .btn:hover {
  background-color: #696966 !important;
  border-color: #696966 !important;
  color: white !important;
  text-decoration: none;
}

/* Contact Button Active */
.desktop-buttons-right .btn.active {
  background-color: #7BAAC7 !important;
  border-color: #7BAAC7 !important;
  color: white !important;
}

/* Mobile Menu Button - EXACT MATCH TO REACT */
.main-site-header .d-md-none .btn {
  background-color: #F0F0EE !important;
  border-color: #F0F0EE !important;
  color: #333332 !important;
  padding: 0.5rem 1rem !important;
  font-size: 14px;
  font-weight: 500;
  border-radius: 0.25rem;
  border: 1px solid transparent;
  transition: all 0.2s ease !important;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-site-header .d-md-none .btn:hover {
  background-color: #696966 !important;
  border-color: #696966 !important;
  color: white !important;
}

/* Logo hover */
.main-site-header img:hover {
  opacity: 0.9;
  background-color: transparent !important;
}

/* ==========================================================================
   Mobile Menu - EXACT ORIGINAL STYLING FROM REACT
   ========================================================================== */
.mobile-menu {
  position: fixed;
  top: 75px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  z-index: 9999;
  overflow-y: auto;
  padding-top: 70px;
  display: none;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu .nav-link {
  background-color: #F0F0EE !important;
  border-color: #F0F0EE !important;
  color: #333332 !important;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  padding: 0.5rem 1rem;
  text-align: center;
  border-radius: 0.25rem;
  display: block;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
}

.mobile-menu .nav-link.active {
  background-color: #7BAAC7 !important;
  border-color: #7BAAC7 !important;
  color: white !important;
}

.mobile-menu .btn {
  background-color: #F0F0EE !important;
  border-color: #F0F0EE !important;
  color: #333332 !important;
  font-size: 14px;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  border: 1px solid transparent;
  width: 100%;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-menu .btn.active {
  background-color: #7BAAC7 !important;
  border-color: #7BAAC7 !important;
  color: white !important;
}

.mobile-menu .yellow-bg {
  background-color: #C7C67B !important;
  border-radius: 0.25rem;
  padding: 1rem;
  text-align: center;
}

.mobile-menu .dkgrey-text {
  color: #333332 !important;
}

/* ==========================================================================
   Footer Styles - EXACT FROM REACT
   ========================================================================== */
.footer-top {
  background-color: #7BAAC7;
  color: white;
  padding: 1.5rem 0;
  margin-top: auto;
}

.footer-top a {
  color: #333332 !important;
  text-decoration: none;
  transition: color 0.2s ease;
  font-family: 'Bliss Pro', sans-serif;
}

.footer-top a:hover {
  color: #ffffff !important;
  text-decoration: none;
}

.footer-bottom {
  background-color: #333332;
  color: white;
  padding: 1.5rem 0;
  font-family: 'Bliss Pro', sans-serif;
}

.footer-bottom a {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease;
  font-family: 'Bliss Pro', sans-serif;
}

.footer-bottom a:hover {
  color: #7BAAC7 !important;
}

.footer-bottom hr {
  border-color: #F0F0EE;
  margin: 1rem 0;
}

.white-text {
  color: #ffffff !important;
}

.text-warning {
  color: #C7C67B !important;
}

/* ==========================================================================
   Typography - EXACT FROM REACT
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Circular Std', sans-serif;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: #333332;
}

h1 { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.5px; }
h2 { font-size: 2rem; font-weight: 700; letter-spacing: -0.25px; }
h3 { font-size: 1.75rem; font-weight: 600; }
h4 { font-size: 1.5rem; font-weight: 600; }
h5 { font-size: 1.25rem; font-weight: 500; }
h6 { font-size: 1rem; font-weight: 500; }

.text-1 { font-size: 0.875rem; }
.text-2 { font-size: 1rem; }
.text-3 { font-size: 1.125rem; }
.text-4 { font-size: 1.25rem; }

/* ==========================================================================
   Button Styles - EXACT FROM REACT
   ========================================================================== */
.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  font-family: 'Bliss Pro', sans-serif;
  min-height: 38px;
}

.btn-sm {
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
}

.btn-primary {
  color: #fff;
  background-color: #7BAAC7;
  border-color: #7BAAC7;
}

.btn-primary:hover {
  background-color: #696966;
  border-color: #696966;
  color: white;
}

.btn-success {
  color: #fff;
  background-color: #7BC7AA;
  border-color: #7BC7AA;
}

.btn-success:hover {
  background-color: #696966;
  border-color: #696966;
  color: white;
}

.btn-warning {
  color: #333332;
  background-color: #C7C67B;
  border-color: #C7C67B;
}

.btn-warning:hover {
  background-color: #696966;
  border-color: #696966;
  color: white;
}

.btn-light {
  color: #333332;
  background-color: #F0F0EE;
  border-color: #F0F0EE;
}

.btn-light:hover {
  background-color: #696966;
  border-color: #696966;
  color: white;
}

.btn-dark {
  color: #fff;
  background-color: #333332;
  border-color: #333332;
}

.btn-dark:hover {
  background-color: #696966;
  border-color: #696966;
  color: white;
}

/* ==========================================================================
   Card Styles - EXACT FROM REACT
   ========================================================================== */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease;
  margin-bottom: 1rem;
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

.card-body {
  padding: 0rem;
}

.card-header {
  padding: 1rem 1.5rem;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  font-family: 'Circular Std', sans-serif;
  font-weight: 600;
}

.card-header:first-child {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

/* ==========================================================================
   Background Colors - EXACT FROM REACT
   ========================================================================== */
.yellow-bg { background-color: #C7C67B !important; }
.white-bg { background-color: #fff !important; }
.green-bg { background-color: #7BC7AA !important; }
.blue-bg { background-color: #7BAAC7 !important; }
.dkgrey-bg { background-color: #333332 !important; }
.ltgrey-bg { background-color: #F0F0EE !important; }

/* Text Colors */
.blue-text { color: #7BAAC7 !important; }
.dkgrey-text { color: #333332 !important; }
.white-text { color: #fff !important; }

/* ==========================================================================
   Flex Utilities - EXACT FROM REACT
   ========================================================================== */
.d-flex { display: flex !important; }
.d-none { display: none !important; }
.d-block { display: block !important; }

@media (min-width: 768px) {
  .d-md-flex { display: flex !important; }
  .d-md-none { display: none !important; }
  .d-md-block { display: block !important; }
}

.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }

.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }

.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-center { align-items: center !important; }

.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }

/* ==========================================================================
   Spacing Utilities - EXACT FROM REACT
   ========================================================================== */
.mt-1 { margin-top: 0.25rem !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pb-3 { padding-bottom: 1rem !important; }

/* ==========================================================================
   Border Utilities
   ========================================================================== */
.border { border: 1px solid #dee2e6 !important; }
.border-top { border-top: 1px solid #dee2e6 !important; }
.border-bottom { border-bottom: 1px solid #dee2e6 !important; }

.rounded { border-radius: 0.25rem !important; }
.rounded-lg { border-radius: 0.5rem !important; }

/* ==========================================================================
   Text Utilities
   ========================================================================== */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-decoration-none { text-decoration: none !important; }

.small { font-size: 0.875em !important; }

/* ==========================================================================
   Shadow Utilities
   ========================================================================== */
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow) !important; }

/* ==========================================================================
   Hero Image Section - Base Styles (FULLY RESTORED)
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    margin-top: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.8;
    background: rgba(51,51,50,0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: left;
}

.hero-title {
    font-family: 'Circular Std', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.5px;
    line-height: 1.2;
    max-width: 90%;
}

/* Hero Section Variants - FULLY RESTORED */
.hero-section.home {
    background-image: url('img/bg-home.jpg');
}
.hero-section.liability {
    background-image: url('img/banner-liability.png');
    background-position: bottom; /* Moves focal point higher (30% from top) */
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-section.property {
    background-image: url('img/banner-property.png');
    background-position: center 60%; /* Moves focal point higher (30% from top) */
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-section.contact {
    background-image: url('img/bg-contact.jpg');
}


/* Responsive hero */
@media (max-width: 768px) {
    .hero-section {
        height: 350px;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    }
    
    .hero-title {
        font-size: 2.5rem;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 300px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Submit Risk Card Styles
   ========================================================================== */
.submit-risk-card .btn {
    background-color: #F0F0EE !important;
    border-color: #F0F0EE !important;
    color: #333332 !important;
    border: 1px solid transparent;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease !important;
    margin-top: 0.5rem;
    display: inline-block;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    font-family: 'Bliss Pro', sans-serif;
    min-height: 38px;
}

.submit-risk-card .btn:hover {
    background-color: #696966 !important;
    border-color: #696966 !important;
    color: white !important;
    text-decoration: none;
}

/* ==========================================================================
   Contact Page Specific Styles - FULLY RESTORED
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-info-item {
    margin-bottom: 1.5rem;
}

.contact-info-item h4 {
    font-family: 'Circular Std', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #7BC7AA;
}

.contact-info-item p {
    font-size: 1.1rem;
    color: #333332;
    margin-bottom: 0.25rem;
}

.contact-info-item a {
    color: #333332;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info-item a:hover {
    color: #7BAAC7;
}

.contact-icon {
    color: #7BC7AA;
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 2rem;
    text-align: center;
}

.flex-contact {
    display: flex;
    padding:0px;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.google-map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.google-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* Submit Risk Card */
.submit-risk-card {
    background-color: #C7C67B !important;
    color: #333332 !important;
    text-align: center;
    padding: 2rem;
    border-radius: 1rem !important;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
}

.submit-risk-card:hover {
    box-shadow: var(--shadow-lg);
}

.submit-risk-card .card-header {
    background-color: transparent;
    border-bottom: none;
    padding: 0;
    margin-bottom: 1rem;
}

.submit-risk-card h5 {
    color: #333332 !important;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.submit-risk-card p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.submit-risk-card a {
    color: #333332 !important;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor:pointer;
}

.submit-risk-card a:hover {
    color: #ffffff !important;
}

/* ==========================================================================
   Responsive for Contact Page
   ========================================================================== */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .google-map-container {
        min-height: 350px;
        margin-top: 1rem;
    }
    
    .google-map {
        min-height: 350px;
    }
}

/* ==========================================================================
   Additional styles for complaints page
   ========================================================================== */
ul {
    margin-left: 7px !important;
    padding-left: 7px !important;
    margin-top: 0px !important;
    padding-top: 0px !important;
}

ul li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

.complaints-list ul {
    margin-left: 7px;
    padding-left: 7px;
    margin-top: 0px !important;
    padding-top: 0px !important;
}

.complaints-list li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 767.98px) {
  .main-content {
    padding: 1rem 0;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
}
/* Ultra-compact Google Maps Info Window - No borders */
.gm-style .gm-style-iw-d {
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.gm-style .gm-style-iw-c {
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 4px !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2) !important;
    border: none !important;
    outline: none !important;
}

.gm-style .gm-style-iw-t::after {
    background: white !important;
    box-shadow: none !important;
    height: 20px !important;
    width: 20px !important;
    border: none !important;
    outline: none !important;
}

/* Hide close button */
.gm-style-iw-c button.gm-ui-hover-effect {
    display: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Your content styling - zero padding/margin */
.gm-style .gm-style-iw-c div {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
}

/* Target any potential borders on the container */
.gm-style-iw, 
.gm-style-iw > div,
.gm-style-iw > div > div {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Remove any focus outlines */
.gm-style *:focus {
    outline: none !important;
    border: none !important;
}

.gm-style .gm-style-iw-c h4 {
    margin: 0 !important;
    padding: 4px 8px 2px 8px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    border: none !important;
}

.gm-style .gm-style-iw-c p {
    margin: 0 !important;
    padding: 0 8px 4px 8px !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
    border: none !important;
}

/* Risk Form Container */
.risk-form-container {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    margin-top: 2rem;
    max-width: 100%;
}

/* Form Grid */
.risk-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.risk-form .form-group.full-width {
    grid-column: span 2;
}

/* Form Labels */
.risk-form .form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #333332;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.risk-form .form-label i {
    color: #7BC7AA;
    font-size: 1rem;
    width: 20px;
}

/* Form Inputs */
.risk-form .form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: #f9f9f9;
}

.risk-form .form-input:focus {
    outline: none;
    border-color: #7BC7AA;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(123, 199, 170, 0.1);
}

/* File Upload Styling */
.file-upload-wrapper {
    position: relative;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: all 0.2s ease;
}

.file-upload-wrapper:hover {
    border-color: #7BC7AA;
    background-color: #f0f9f5;
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #666;
    pointer-events: none;
}

.file-upload-placeholder i {
    font-size: 2rem;
    color: #7BC7AA;
    margin-bottom: 0.5rem;
}

.file-upload-placeholder span {
    font-size: 0.95rem;
}

/* Submit Button */
.risk-form .submit-button {
    background-color: #7BC7AA;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: auto;
    min-width: 200px;
}

.risk-form .submit-button:hover {
    background-color: #6bb599;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 199, 170, 0.3);
}

.risk-form .submit-button i {
    font-size: 1rem;
}

/* Alerts */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.alert i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #333332;
}

.alert-success i {
    color: #28a745;
}

.alert-warning {
    background-color: #f8d7da;
    border: 1px solid #f8d7da;
    color: #333332;
}

.alert-warning i {
    color: #ff0000 !important;
}

.text-danger {
    color: #ff0000 !important;
}


/* Responsive */
@media (max-width: 768px) {
    .risk-form-container {
        padding: 1.5rem;
    }
    
    .risk-form .form-grid {
        grid-template-columns: 1fr;
    }
    
    .risk-form .form-group.full-width {
        grid-column: span 1;
    }
    
    .file-upload-placeholder {
        padding: 1.5rem;
    }
    
    .risk-form .submit-button {
        width: 100%;
    }
}
