/*
 Theme Name:   Astra Child
 Template:     astra
 Author:       mibowork
 Version:      1.0.0

 Description:  Custom CSS styles for the Trust Center site.  
               All custom CSS styling code referenced from the 
               WordPress block editor shall exist in this module.
*/

/* --- YOUR CUSTOM CSS STARTS HERE --- */

:root {
  --color-primary-teal: rgb(1, 168, 184);           /* Teal */
  --color-primary-teal-light: rgb(1, 197, 216);     /* Teal Light */
  --color-secondary-navy-deep: #081C33;             /* Navy Deep */
  --color-secondary-navy: #0C2A4C;                  /* Navy */
  --color-secondary-navy-light: rgb(18, 54, 94);    /* Navy Light */
  --color-accent-coral: #FA836B;                    /* Coral */
  --color-accent-amber: #D4976B;                    /* Amber */
  --color-bg-navy-deep: #081C33;                    /* Navy Deep */
  --color-bg-navy: #0C2A4C;                         /* Navy */
  --color-section-label-coral: #FA836B;             /* Coral */
  --color-card-navy: #0C2A4C;                       /* Navy */
  --color-general-main-text-white: #ffffff;         /* White */
  --color-general-sub-text-grey: #ffffff80;         /* Grey */

  --color-gradient-teal-to-coral: linear-gradient(135deg, rgb(1, 168, 184), rgb(1, 197, 216));
}


/****************************************/
/* --- Prevent horizontal overflow ---  */
/****************************************/
html, body {
    overflow-x: hidden;
}


/********************************************/
/* --- Hide Astra mobile navigation ---    */
/* Single-page site; no menu needed.       */
/********************************************/
.ast-mobile-header-wrap,
.ast-header-break-point .main-header-menu-toggle {
    display: none !important;
}


/******************/
/* --- Gating --- */
/******************/

/* Default state — hide both tiers until JS sets the body class.
   Prevents a flash of wrong content on load. */
.tc-public,
.tc-client {
    display: none !important;
}

/* Public mode */
body.tc-mode-public  .tc-public  { display: block !important; }
body.tc-mode-public  .tc-client  { display: none !important;  }

/* Client mode */
body.tc-mode-client  .tc-client  { display: block !important; }
body.tc-mode-client  .tc-public  { display: none !important;  }


/**********************/
/* --- Card Styles --- */
/**********************/

.tc-subprocessor-notification-card {
    border-radius: 12px;
   	border: 1px solid rgba(1, 168, 184, 0.15);
    padding: 24px;
    background-color: var(--color-secondary-navy-light);
    color: var(--color-general-main-text-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-content {
    flex: 1;
}

.card-button {
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, rgb(1, 168, 184), rgb(1, 197, 216));
    color: rgb(255, 255, 255);
    cursor: pointer;
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.card-button:hover {
    background-color: var(--color-accent-amber);
}

.tc-subprocessor-notification-card h2 {
    color: var(--color-general-main-text-white);
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.5em;
}

.tc-subprocessor-notification-card p {
    color: var(--color-general-sub-text-grey);
    margin: 0;
    line-height: 1.5;
}


/***********************************************************************/
/* --- Public Trust Center / Client Trust Center switcher buttons  --- */
/***********************************************************************/

.tc-mode-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 0px;
}

/* Reduce the margin between the TC swithcer buttons and the seperator below */
.tc-mode-switcher + hr,
.tc-mode-switcher + .wp-block-separator {
    margin-top: 0;
}

/* Base button */
.tc-btn {
    padding: 8px 24px;
    border: 1px solid rgba(1, 168, 184, 0.15);
    border-radius: 8px;
    cursor: pointer;
    font-family: "Space Grotesk", sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
    margin: 0;
    background: rgb(12, 42, 76);
    color: rgb(255, 255, 255, 0.5);
}

.tc-btn:first-child {
    border-radius: 8px 0 0 8px;
    border-right: none; /* prevents double border in the middle */
}

.tc-btn:last-child {
    border-radius: 0 8px 8px 0;
}

/* Active / selected */
.tc-btn.active,
.tc-btn[aria-pressed="true"] {
    background: linear-gradient(135deg, rgb(1, 168, 184), rgb(1, 197, 216));
    color: rgb(255, 255, 255);
    border-color: transparent;
}

/* Disabled / locked (no valid token) */
.tc-btn--locked,
.tc-btn[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
    border-style: dashed;
    pointer-events: none; /* prevents hover flicker */
}


/*****************************************/
/* --- Prevent horizontal scrollbars --- */
/*****************************************/
body {
    position: relative;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}


/****************************************************************/
/* --- Triangle containers for decorating top right of page --- */
/****************************************************************/

/* Base style for the triangle containers */
body::before,
body::after,
#page::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: min(1920px, 100%);
    height: 1080px;
    pointer-events: none;
}

/* Largest Triangle (Teal #01A8B8) */
body::before {
    /* Points translated to the 1920px box */
    clip-path: polygon(1920px 0, 1920px 400px, 1400px 0);
    background-color: var(--color-primary-teal);
    opacity: 0.08;
    z-index: -3;
}

/* Middle Triangle (Lighter Teal #01C5D8) */
body::after {
    /* Points: 1920px,0 1920px,280px 1550px,0 */
    clip-path: polygon(1920px 0, 1920px 280px, 1550px 0);
    background-color: var(--color-primary-teal-light);
    opacity: 0.06;
    z-index: -2;
}

/* Smallest Triangle (Coral/Orange #FA836B) */
#page::before {
    /* Points: 1920px,0 1920px,120px 1700px,0 */
    clip-path: polygon(1920px 0, 1920px 120px, 1700px 0);
    background-color: var(--color-accent-coral);
    opacity: 0.12;
    z-index: -1;
}


/* Ensure the footer is the anchor for the triangles */
footer, .site-footer {
    position: relative;
    overflow: hidden; /* Clips the triangles so they don't overlap other sections */
    min-height: 300px; /* Ensures there's enough room to see the triangles */
}


/* Target the site header */
.site-header {
    color: #111 !important; 
    background-color: transparent !important;
    /* padding: 20px 0; */
}

.site-header p {
    color:white;
    border: 1px solid;
    border-color: white;
    /* padding: 20px 0; */
}

/* Target the site title */
.site-title a {
    color: #fff;
    font-size: 2rem;
}

.main-header-bar { 
    background-color: rgb(8, 28, 51) !important;
    border-bottom: 1px solid #01a8b826;
}

.header-buttons {
    display: flex;
    /* gap: 12px; */
    justify-content: center;
    align-items: center;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #01a8b826;
    /* border: 1px solid red; */
}

.header-btn-left {
    background-color: #0073aa;
    color: var(--color-general-sub-text-grey);
    padding: 10px 20px;
    border-radius: 8px 0 0 8px !important;
    border-color: none;
    text-decoration: none;
    /* transition: background-color 0.3s ease; */

    font-family: "Space Grotesk", sans-serif; 
    font-size: 12px; 
    font-weight: 600; 
    letter-spacing: 1px;
    cursor: pointer;

}

.header-btn-right {
    background-color: #0073aa;
    color: var(--color-general-sub-text-grey);
    padding: 10px 20px;
    border-radius: 0 8px 8px 0 !important;
    text-decoration: none;
    transition: background-color 0.3s ease;

    font-family: "Space Grotesk", sans-serif; 
    font-size: 12px; 
    font-weight: 600; 
    letter-spacing: 1px;
    cursor: pointer;

}

.wp-block-separator {
    width: 100% !important;
    max-width: 100% !important;
}

/* .header-btn:hover {
    background-color: #005a87;
    color: #ffffff;
} */



/******************************************************************/
/* --- Triangle containers for decorating bottom left of page --- */
/******************************************************************/

/* Base style for the footer triangles */
footer::before, 
footer::after,
.site-footer::before,
.site-footer::after {
    content: "";
    position: absolute;
    bottom: 0;
    
    /* THE MAGIC LINE: 
       Stays at 0px (left edge) on wide screens.
       Slides into negative space (left) when the window is < 1920px. */
    left: min(0px, 100% - 1920px);
    
    width: 1920px;
    height: 100%; /* Spans the height of the footer */
    pointer-events: none;
    z-index: 0; /* Sits behind footer text but above the footer background */
}

/* Larger Bottom Triangle (Teal #01A8B8) */
footer::before, .site-footer::before {
    /* Coordinates relative to the bottom-left of the 1920px canvas */
    clip-path: polygon(0 100%, 0 0, 350px 100%);
    background-color: var(--color-primary-teal);
    opacity: 0.05;
}

/* Smaller Bottom Triangle (Coral #FA836B) */
footer::after, .site-footer::after {
    /* Coordinates: 0,100% (bottom-left) 0,130px (from top) 200px,100% (bottom edge) */
    clip-path: polygon(0 100%, 0 130px, 200px 100%);
    background-color: var(--color-accent-coral);
    opacity: 0.06;
}



/* Adding a decorative triangle to the corner of the page */
body::__before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: rgba(52, 152, 219, 0.1); /* Subtle blue */
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: -1; /* Keeps it behind your text */
}

/* Custom Gradient Separator */
.wp-block-separator.gradient-line {
    border: none !important;
    height: 1px !important;
    background: linear-gradient(to right, transparent, rgba(1, 168, 184, 0.2), rgba(250, 131, 107, 0.2), transparent) !important;
		width: 100% !important;
	  margin: 0px auto !important;
    opacity: 1 !important;
}


/**************************************/
/* --- Tabbed Navigation features --- */
/**************************************/

.tab-subtitle-1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent-coral);
}

.tab-subtitle-2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--color-general-main-text-white);
}

.tab-nav {
    overflow: hidden;
    position: relative;
    background-color: var(--color-bg-navy-deep);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start!important;
    align-content: space-between;
    flex-direction: row;
    margin-bottom: 1px!important;
    gap: 0px!important;
    padding-left: 48px;
}

/* Mobile: horizontal scrollable tabs with persistent custom scrollbar */
@media (max-width: 768px) {
    .tab-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        padding-left: 16px;
        scrollbar-width: none; /* Firefox — hide native */
    }
    .tab-nav::-webkit-scrollbar {
        display: none; /* Chrome/Safari — hide native */
    }
    .tab-nav div {
        flex-shrink: 0;
    }
    .tab-nav div a {
        padding: 16px 20px !important;
        white-space: nowrap;
    }
    .tab-nav::after {
        left: 0;
        right: 0;
    }

    /* Custom persistent scrollbar */
    .tab-nav-scrollbar {
        height: 3px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 3px;
        margin: 4px 16px 0;
        position: relative;
    }
    .tab-nav-scrollbar__thumb {
        height: 100%;
        background: rgba(255, 255, 255, 0.25);
        border-radius: 3px;
        position: absolute;
        left: 0;
        transition: left 0.05s linear;
    }
}
.tab-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 48px;
    right: 15px;
    height: 1px;
    background: var(--tab-underline);
}
.tab-nav div{
  float: left;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: 0.3s;
  font-size: 17px;
}
.tab-nav a.wp-block-button__link {
    color: var(--tab-text)!important;
    background-color: transparent!important;
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    font-weight: 600; 
}
.tab-nav div a {
    padding: 20px 40px!important;
}
.tab-nav div:hover a, .tab-nav div.active a {
    color: var(--tab-main)!important;
}
.tab-nav div.active, .tab-nav div:hover {
    color: var(--tab-main)!important;
    border-bottom: 3px solid var(--tab-main);
    z-index: 3;
}

.tab-content {
    display: none;
    /* padding: 35px 15px; */
    border-top: none;
    /* box-shadow: 0 12px 25px -10px #00000040; */
	background-color: var(--color-bg-navy-deep);
}


/*****************************************/
/* --- Compliance tab section styles --- */
/*****************************************/

.compliance-badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
}

/* Ensure the badges grow to fill the available space within the Compliance area */
.compliance-badge-group > .wp-block-group {
    flex: 1 1 0;
}

.compliance-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 20px;
    gap: 10px;
    justify-content: flex-start;
	min-width: 170px;
    text-align: center;
}

.compliance-badge p {
    margin: 0 !important;
}

.compliance-badge-icon {
    font-size: 28px !important;
    padding: 0px !important;
    text-align: center;
}

.compliance-badge-certification {
	font-family: "Space Grotesk", sans-serif;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: var(--color-general-main-text-white); 
	text-align: center;
	letter-spacing: 0.3px;
}

.compliance-badge-certified {
    display: inline-block;
    font-family: "Space Grotesk", sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
    text-align: center;
	color: var(--color-primary-teal);
	background: rgba(1, 168, 184, 0.133);
	border: 1px solid rgba(1, 168, 184, 0.333);
	border-radius: 20px;
	padding: 3px 12px;
}

.compliance-badge-in-progress {
    display: inline-block;
    font-family: "Space Grotesk", sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
    text-align: center;
	color: var(--color-accent-amber);
	background: rgba(212, 151, 107, 0.133);
	border: 1px solid rgba(212, 151, 107, 0.333);
	border-radius: 20px;
	padding: 3px 12px;
}

.compliance-badge-readiness {
    display: inline-block;
    font-family: "Space Grotesk", sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
    text-align: center;
	color: var(--color-accent-coral);
	background: rgba(250, 151, 107, 0.133);
	border: 1px solid rgba(250, 151, 107, 0.333);
	border-radius: 20px;
	padding: 3px 12px;
}

.compliance-badge-compliant {
    display: inline-block;
    font-family: "Space Grotesk", sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
    text-align: center;
	color: var(--color-primary-teal);
	background: rgba(1, 168, 184, 0.133);
	border: 1px solid rgba(1, 168, 184, 0.333);
	border-radius: 20px;
	padding: 3px 12px;
}

.compliance-details-status {
	font-family: "Space Grotesk", sans-serif;
    /* border-color: rgba(1, 168, 184, 0.15); */
	background-color: var(--color-secondary-navy-light);
	border: 1px solid rgba(1, 168, 184, 0.15);
	border-radius: 12px;
	margin: 8px;
	padding: 0px 20px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.compliance-details-subtitle {
    font-family: "Space Grotesk", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent-coral);
    margin-bottom: 8px !important;
}

.compliance-details-status-heading {
    font-family: "Space Grotesk", sans-serif;
    font-size: 12px;
    margin: 0 0 1px 0 !important;
    padding: 0 !important;
    color: var(--color-general-sub-text-grey);
}

.compliance-details-status-data {
    font-family: "Space Grotesk", sans-serif;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    color: var(--color-primary-teal);
}

.compliance-details-status *,
.compliance-details-status-heading p,
.compliance-details-status-data p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/***************************************/
/* --- Controls tab section styles --- */
/***************************************/

/* Controls Accordian styles */
/* Target the header of the Details block */
.controls-accordion {
	background-color: rgb(18, 54, 94);
	border: 1px solid rgba(1, 168, 184, 0.15);
	border-radius: 12px;
	margin: 8px;
	padding: 0px 20px;
}

.controls-accordion summary {
	  background-color: rgb(18,54,94);
      padding: 15px 0px;
	  /*border-radius: 12px;*/
	  font-family: "Space Grotesk", sans-serif;
	  font-size: 14px;
	  font-weight: 700;
	  color: var(--color-general-main-text-white);
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
    list-style: none;
    -webkit-tap-highlight-color: transparent;
}

/* For Safari/Chrome to hide the default arrow */
.controls-accordion summary::-webkit-details-marker {
    display: none;
}

/* Arrow always at the far right */
.controls-accordion summary::before {
    content: "\25BC";
    transition: transform 0.3s ease;
    font-size: 0.8em;
    margin-left: auto;
    order: 3;
}

/* In client mode, progress text takes over the push — arrow reverts to a fixed gap */
body.tc-mode-client .controls-accordion summary::before {
    margin-left: 10px;
}

/* Progress text (e.g. "4/4") — client mode only, sits left of the arrow */
body.tc-mode-client .controls-accordion summary::after {
    content: attr(data-progress);
    order: 2;
    margin-left: auto;
    font-family: "Space Grotesk", sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary-teal);
    letter-spacing: 0.5px;
}

/* Rotate the arrow when the accordion is open */
.controls-accordion[open] summary::before {
    transform: rotate(180deg);
}

.controls-accordion p {
	margin-bottom: 0px;
	margin-top: 0px;
	padding-top: 10px;
	padding-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
	font-size: 13px;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Place a small dot indicator towards the right edge of the accordion entry (client mode only) */
body.tc-mode-client .controls-accordion p::after {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--color-primary-teal);
    flex-shrink: 0;
    margin-left: 12px;
}


/*********************************************/
/* --- Data Collected tab section styles --- */
/*********************************************/

/* Card container */
.data-collected-card {
    font-family: "Space Grotesk", sans-serif;
    border-color: rgba(1, 168, 184, 0.15);
}

/* Header row: title + category badge */
.data-collected-card > .wp-block-group:first-child {
    margin-bottom: 16px;
}

/* Title */
.data-collected-card > .wp-block-group:first-child > p:first-child {
    font-family: "Space Grotesk", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
}

/* Detail rows: Data fields, Purpose, Lawful basis */
.data-collected-card > .wp-block-group ~ .wp-block-group {
    gap: 6px;
    margin-bottom: 6px;
}

.data-collected-card > .wp-block-group ~ .wp-block-group p {
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    line-height: 1.6;
}

/* Labels (bold) */
.data-collected-card > .wp-block-group ~ .wp-block-group p:first-child {
    color: rgba(255, 255, 255, 0.7);
}

/* Values (muted) */
.data-collected-card > .wp-block-group ~ .wp-block-group p:last-child {
    color: rgba(255, 255, 255, 0.5);
}

/* Mobile: allow flex rows to wrap */
@media (max-width: 768px) {
    .data-collected-card .wp-block-group.is-nowrap {
        flex-wrap: wrap !important;
    }
    .data-collected-card > .wp-block-group ~ .wp-block-group {
        flex-wrap: wrap !important;
    }
}


/********************************************/
/* --- Subprocessors tab section styles --- */
/********************************************/

/* --- Subprocessor card for subprocessor details --- */
.subprocessor-card {
	font-family: "Space Grotesk", sans-serif;
	border-color: rgba(1, 168, 184, 0.15);
	
}

.subprocessor-card h2 {
	font-family: "Space Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgb(255, 255, 255);
}

.subprocessor-card p {
  	font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* DPA Active Badge - this is client-gated in the Custom HTML */
.dpa-active-badge {
    font-family: "Space Grotesk", sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: rgb(1, 168, 184);
    padding: 4px 12px 3px 12px;
    white-space: nowrap;
    vertical-align: middle;
}

.dpa-active-badge::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: rgb(1, 168, 184);
    border-radius: 50%;
    margin-right: 6px;
    margin-bottom: 2px;
    vertical-align: middle;
}

/* --- Subprocessor Notification card for subprocessor notification --- */
.subprocessor-notification-card {
	font-family: "Space Grotesk", sans-serif;
	border-color: rgba(1, 168, 184, 0.15);
	
}

.subprocessor-notification-card h2 {
	font-family: "Space Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgb(255, 255, 255);
}

.subprocessor-notification-card p {
  	font-family: "Space Grotesk", sans-serif;
    font-size: 13px; 
    color: rgba(255, 255, 255, 0.5);
}


/* --- Subprocessor Statement card for Data Sovereignty statement --- */
.subprocessor-statement-card {
	font-family: "Space Grotesk", sans-serif;
	border-color: rgba(1, 168, 184, 0.15);
	
}

.subprocessor-statement-card h2 {
	font-family: "Space Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgb(255, 255, 255);
}

.subprocessor-statement-card p {
  	font-family: "Space Grotesk", sans-serif;
    font-size: 13px; 
    color: rgba(255, 255, 255, 0.5);
}


/****************************************/
/* --- Resources tab section styles --- */
/****************************************/

/* Card container */
.resources-card {
    background-color: #12365E;
    border: 1px solid rgba(1, 168, 184, 0.15);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Title */
.resources-card h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 6px 0;
}

/* Description */
.resources-card p {
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin: 0 0 16px 0;
}

/* Shared button base */
.resources-card-button a {
    display: inline-block;
    padding: 8px 20px !important;
    border-radius: 8px !important;
    font-family: "Space Grotesk", sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer;
    text-decoration: none !important;
    align-self: flex-start;
}

/* "Download PDF" button — teal gradient, public docs */
.resources-card-button a.tc-btn-download {
    border: none !important;
    background: linear-gradient(135deg, #01A8B8, #01C5D8) !important;
    color: #FFFFFF !important;
}

/* "Request Security Package" button — ghost/muted, public mode on gated docs */
.resources-card-button a.tc-request-access {
    border: 1px solid rgba(1, 168, 184, 0.15) !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-weight: 500 !important;
}

/* "Accept NDA to Access" button — coral outline, client mode pre-NDA */
.resources-card-button a.tc-nda-trigger {
    border: 1px solid #FA836B !important;
    background: transparent !important;
    color: #FA836B !important;
}

/* "Download" button — teal outline, client mode post-NDA */
.resources-card-button a.tc-btn-download-gated {
    border: 1px solid #01A8B8 !important;
    background: rgba(1, 168, 184, 0.13) !important;
    color: #01A8B8 !important;
}


/* Security Request Form selection button — hidden; form triggered programmatically by resources.js */
#zf_button_356672 {
    display: none !important;
    background: linear-gradient(135deg, rgb(1, 168, 184), rgb(1, 197, 216));
    color: var(--color-general-main-text-white);
    /*padding: 12px 24px;*/
    border-radius: 8px;
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#zf_button_356672:hover {
    background-color: #005177;
    text-decoration: none;
}


/******************************/
/* --- NDA Modal Styles ---  */
/******************************/

.tc-nda-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-nda-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 28, 51, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.tc-nda-modal__content {
    position: relative;
    background-color: #0C2A4C;
    border: 1px solid rgba(1, 168, 184, 0.15);
    border-radius: 16px;
    padding: 40px;
    max-width: 560px;
    width: 90%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.tc-nda-modal__title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 6px 0;
}

.tc-nda-modal__accent {
    width: 40px;
    height: 2px;
    background: #FA836B;
    border-radius: 1px;
    margin-bottom: 20px;
}

.tc-nda-modal__body {
    background: #081C33;
    border: 1px solid rgba(1, 168, 184, 0.15);
    border-radius: 8px;
    padding: 20px;
    max-height: 220px;
    overflow-y: auto;
    margin-bottom: 24px;
}

.tc-nda-modal__body p {
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.tc-nda-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.tc-nda-modal__btn {
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    cursor: pointer;
}

.tc-nda-modal__btn--cancel {
    background: transparent;
    border: 1px solid rgba(1, 168, 184, 0.15);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.tc-nda-modal__btn--cancel:hover {
    border-color: rgba(1, 168, 184, 0.3);
    color: rgb(255, 255, 255);
}

.tc-nda-modal__btn--accept {
    background: linear-gradient(135deg, #01A8B8, #01C5D8);
    color: #FFFFFF;
    font-weight: 600;
}

.tc-nda-modal__btn:disabled {
    opacity: 0.5;
    cursor: wait;
}


/**********************************/
/* --- FAQ tab section styles --- */
/**********************************/

/* FAQ Accordian styles */
.faq-item {
  display: block;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Separator line */
  padding: 15px 0; /* Add some space around the line */
  list-style: none;
  padding: 2px 0;
}

.faq-question {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  color: var(--color-general-main-text-white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none; /* remove default arrow */
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

/* Remove default markers */
  .faq-question::-webkit-details-marker,
  .faq-question::marker {
    display: none;
  }

details.faq-item > summary.faq-question::after {
  color: rgb(250, 131, 107);
  content: '+';
  font-size: 22px;
  transition: transform 0.3s ease;
  flex-shrink: 0; /* prevent + from squishing on small screens */
  margin-left: 20px;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
  color: var(--color-accent-coral);
}

.faq-answer {
  display: block;
  font-size: 14px;
  color: var(--color-general-sub-text-grey);
  line-height: 1.7;
  margin-top: 10px;
}

footer, .site-footer, #colophon {
  
    /* border-top: 3px solid #3498db !important; /* Change color and thickness */
    /* padding-top: 20px; /* Adds space between the line and footer content */

    width: 100%; 
    height: 10px !important; 
    border-top: 3px solid linear-gradient(to right, transparent, rgba(1, 168, 184, 0.2), rgba(250, 131, 107, 0.2), transparent) !important;
    margin: 0px auto;
    padding-top: 20px;

    /* width: 100%; 
    height: 10px !important; 
    background: linear-gradient(to right, transparent, rgba(1, 168, 184, 0.2), rgba(250, 131, 107, 0.2), transparent) !important;
    margin: 0px auto; */
    
}


/****************************************************/
/* --- Styling for Gated/authenticated elements --- */
/****************************************************/

/* Disable the button by default */
.portal-not-validated .client-trust-center-btn {
    pointer-events: none; /* Prevents clicking */
    opacity: 0.5;         /* Makes it look "greyed out" */
    cursor: not-allowed;
    filter: grayscale(100%);
}

/* Enable it when validated */
.portal-validated .client-trust-center-btn {
    pointer-events: auto;
    opacity: 1;
    filter: none;
}

.client-trust-center-btn a {
    font-family: "Space Grotesk", sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    background: transparent;
    color: var(--color-general-sub-text-grey);
}

.client-trust-center-btn a:hover {
    background: var(--color-gradient-teal-to-coral);
}

.public-trust-center-btn a {
    font-family: "Space Grotesk", sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    background: transparent;
    color: var(--color-general-sub-text-grey);
}

.public-trust-center-btn a:hover {
    background: var(--color-gradient-teal-to-coral);
}

/* Hide by default */
.client-only-content {
    display: none !important;
}

/* Show only when the 'portal-validated' class is on the <body> */
.portal-validated .client-only-content {
    display: block !important;
}
