body {
    padding-top: 2rem;
    padding: 0;
}

/* Screen-reader-only utility — visually hidden but available to AT */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Boost contrast for muted/secondary text used at small sizes */
.text-muted,
.card-subtitle {
    color: #595f6a !important;
}
body.alert-notice {
    padding-top: 3.5rem;
}
body.alert-notice div.alert-notice {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

div.alert-notice{
    background-color: #dc3545;
    color: white;
    border: solid 1px white;
}
div.alert-notice a{
    color: white;
    text-decoration: underline;
}
.caselist {
  list-style: none;
  padding: 0;
}
.case-label {
    cursor: pointer;
    margin-bottom: 0;
    padding: 1rem 0px;
}
.caselist li {
    position: relative;
    padding-left: 2.5rem;
}
.caselist li input {
  position: absolute;
  left: 10px;
  width: 1.5rem;
  height: 1.5rem;
  margin: 1rem 0px;
  cursor: pointer;
}
.select-controls {
    margin: 1rem 0;
}
.select-controls a {
    display: inline-block;
    margin: 5px;
}
.selectall {
    position: relative;
}
.selectall:after {
    content:'|';
    position: absolute;
    right: -7px;
}
.case-item:hover {
    background-color: #eeeeee;
}
body {
    margin-bottom: 2.5rem;     
}



a.button {
	display: block;
	padding: 10px;
	width: 100%;
	border-radius: 3px;
	background: #d83f45;
	font-size: 14px;
	font-weight: 700;
	color: white;
	cursor: pointer;
}

a.button {
	box-sizing: border-box;
	display: block;
	padding: 10px;
	width: 100%;
	border-radius: 3px;
	background: #000;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	color: white;
}

a.social {
	margin-bottom: 6px;
}

a.google {
	background: #4787ed;
}
a.login-name {
    display: table-cell;
    padding: 10px;
}
a.login-name.google
,a.login-name.facebook {
    background-color: inherit;
}
a.login-name.google:before {
    content: '\f1a0  ';
    font-family: "Font Awesome 6 Brands";
	color: #4787ed;
}
a.login-name.facebook:before {
    content: '\f09a  ';
    font-family: "Font Awesome 6 Brands";
	color: #4267b2;
    font-weight: 1.5rem;
}

a.facebook {
	background: #4267b2;
}

a.twitter {
	background: #1da1f2;
}

button:hover {
	background-color: #c83f45;
}





.account-dropdown {
    position: relative;
    float: right;
    text-align: right;
}
.login-name {
    position: relative;
    z-index: 10;
    padding: 10px;
    display: inline-block;
    color: black;
    text-decoration: none;
    text-align: right;
    height: 92px;
}
.login-name:hover {
    text-decoration: none;
    color: black;
}
.dropdown {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    padding-top: 92px;
    z-index: 9;
}
.dd-list {
    padding: 0;
    list-style: none; 
    border-bottom: 1px solid silver; 
    position: absolute;
    left: 0; 
    width: 100%; 
    background-color: white;
    margin-top: 1px;
}
.dd-list a
,.dd-list button {
    display: block;
    border-bottom: 1px solid silver;
    padding: 8px 0;
    text-align: right;
    width: 100%;
}
.dropdown .logout {
    background: none;
    border: none;
}
.dropdown a, .dropdown button {
    padding-right: 2.5rem;
    position: relative;
}
.dropdown a[href='/cases']:after{
    content: '\f07b';
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    position: absolute;
    right: 1rem;
}
.dropdown a[href='/account']:after{
    content: '\f013';
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    position: absolute;
    right: 1rem;
}
.dropdown button.logout {
    color: darkred;
}
.dropdown button.logout:after {
    content: '\f08b';
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    position: absolute;
    right: 1rem;   
}


.navigation-background .row {
    border-bottom: 1px solid silver;
}


.logo {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #033c60;
    padding: 1rem 0;
}



.pagination {
    padding: 0;
    margin: 0;
    list-style: none;
}
.pagination a {
    display: inline-block;
    padding: 2px;
    width: 1.75rem;
    text-align: center;
}
.pagination a.active {
    text-decoration: underline;
}


.left-dots:after {
    content: '...'
}
.right-dots:before {
    content: '...'
}





@media (max-width: 992px ) {
    #oscn-content {
        width: 100%;
    } 
}

@media only screen and (min-width: 992px) {
	#oscn-content {
		max-width: 992px;
		margin-left: auto;
		margin-right: auto;
	}	
}
@media only screen and (min-width: 1280px) {
	#oscn-content {
		max-width: 1280px;
	}
}

@media (max-width: 576px ) {
	#oscn-content {
		width: 100%;
	}
}


@media print {
	footer {
		display: none !important;
	}
	#site-navigation {
		display: none !important;
	}
	.oscn-abbreviation {
		display: none;
	}
	.oscn-full-name {
		visibility: visible;
		color: black;
	}
}


.toast {
    position: relative;
    margin: 1em auto;
    padding: 1em 1.5em;
    border-radius: 4px;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    color: #fff;
    font-family: sans-serif;
    animation: fadeIn 0.3s ease;
    opacity: 1;
  }
  
  /* Type styles */
  .toast.success   { background-color: #28a745; }
  .toast.error     { background-color: #dc3545; }
  .toast.warning   { background-color: #ffc107; color: #000; }
  .toast.info      { background-color: #17a2b8; }
  
  /* Close button */
  .toast .close-button {
    position: absolute;
    right: 0.5em;
    top: 0.3em;
    background: transparent;
    border: none;
    font-size: 1.2em;
    color: inherit;
    cursor: pointer;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

/* Landing Page Styles */
.landing-hero {
  background: linear-gradient(135deg, #033c60 0%, #0052a3 100%);
  color: white;
}

.landing-hero h1 {
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.landing-hero .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.landing-hero .btn-primary {
  background-color: #fff;
  color: #033c60;
  border-color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
}

.landing-hero .btn-primary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

.landing-features {
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.landing-features h2 {
  font-weight: 600;
  margin-bottom: 3rem;
  color: #212529;
}

.landing-features .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.landing-features .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1) !important;
}

.landing-features .card-title {
  font-weight: 600;
  color: #212529;
  margin-bottom: 1rem;
}

.landing-how-it-works h2 {
  font-weight: 600;
  margin-bottom: 3rem;
  color: #212529;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  font-weight: 600;
  flex-shrink: 0;
  background-color: #033c60;
  color: white;
}

.step-item h3 {
  font-weight: 600;
  color: #212529;
}

.step-item p {
  max-width: 250px;
  margin: 0 auto;
}

.landing-cta {
}

.landing-cta h2 {
  font-weight: 600;
}

.landing-cta .btn-light {
  font-weight: 600;
  transition: all 0.3s ease;
}

.landing-cta .btn-light:hover {
  background-color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .landing-hero h1 {
    font-size: 2rem;
  }

  .landing-hero .lead {
    font-size: 1.1rem;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

/* ============================================================
   Admin → Accounts list
   ============================================================ */
.account-avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #111827;
  background: #eef2ff;
  border: 1px solid #e5e7eb;
}

/* Allow flex children to truncate instead of overflowing */
.min-width-0 {
  min-width: 0;
}

.account-row .account-channels summary {
  cursor: pointer;
  color: #595f6a;
}

.account-row .account-channels summary:hover {
  color: #111827;
}
