
:root {
	
	--sidebar-width: 285px;
	
    --bg-primary: #111b20;
    --bg-secondary: #17252b;
    --panel-bg: #1b2d33;
    --border-color: #2c444b;
    --text-primary: #eaf3f7;
    --text-secondary: #cfe8ef;
    --accent-green: #8ccf69;
    --accent-yellow: #c8c06a;
    --accent-red: #e05b5b;
    --accent-logo: #00d4d8;
/*	#8cbfbf;
//	--accent-logo: #457583;
*/
    --sidebar-bg: #0e171b;
/*    --hover-bg: #24373d;
*/

    --hover-bg: rgba(0, 212, 216, 0.3);

	--active-bg: rgba(0, 212, 216, 0.3);
	--active-bg0: rgba(0, 212, 216, 0.18);
	--active-bg100: rgba(0, 212, 216, 0.05);

}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Geist, Montserrat, Arial, sans-serif;
    background: linear-gradient(180deg, #10191d 0%, #142127 100%);
    color: var(--text-primary);
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    padding: 24px 0px;
	margin-left:16px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.logo {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  border: 0;
  
  svg {
	padding-right:4px;
  }
  
  /* Optional styling based on your screenshot */
  color: #ffffff;      /* Makes "SOC" white */
  font-family: Montserrat, Arial, sans-serif;
  font-weight: bold;
  font-size: 24px;     /* Adjust size to match your sidebar layout */
    margin-bottom: 30px;
    letter-spacing: 1px;
	text-decoration: none!important;
}

.logo span {
    color: var(--accent-logo);
	font-family: Montserrat, Arial, sans-serif;
}

.nav-section {
    margin-bottom: 24px;
}

.nav-section h3 {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.nav-section a, a {
    display: block;
    text-decoration: none;
    color: var(--text-primary);
    padding: 12px 14px;
    border-radius: 8px 0 0 8px;
    margin-bottom: 6px;
    transition: 0.2s ease;
    border: 1px solid transparent;
}

.nav-section a:hover {
    background: var(--hover-bg);
    border-color: var(--border-color);
}

.main-content {
    margin-left: calc(var(--sidebar-width) + 16px);
    padding: 0 24px 24px 24px;
    width: calc(100% - var(--sidebar-width));
}

.hero {
    background: linear-gradient(135deg, #1b2d33 0%, #1d3237 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px;
    margin-top: 24px;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.hero h1 {
    margin-top: 0;
    font-size: 42px;
    color: white;
}

.hero p {
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 900px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	margin-top: 24px;
    gap: 24px;
}

.card {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 24px;
    transition: 0.2s ease;
}

.card a {
	padding:0;
	margin:0;
	height:100%;
}
.card:hover {
    transform: translateY(-3px);
    border-color: var(--hover-bg);
}

.card h2 {
    margin-top: 0;
    color: white;
    font-size: 22px;
}

.card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.button {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    background: #2d4950;
    border: 1px solid var(--border-color);
}

.button:hover {
    background: #35575f;
}

.audio-placeholder {
    margin-top: 24px;
    padding: 18px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px dashed var(--border-color);
    color: var(--text-secondary);
}

code {
    background: rgba(255,255,255,0.06);
    padding: 2px 6px;
    border-radius: 4px;
}

@media (max-width: 900px) {
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
    }

    body {
        flex-direction: column;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }
}

/* Global scrollbar styling */

/* Chromium / Edge / Safari */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #31474e;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
}

::-webkit-scrollbar-thumb:hover {
    background: #44626b;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #31474e rgba(255,255,255,0.03);
}

/*
rgba(140, 207, 105, 0.35)
rgba(140, 207, 105, 0.18)
rgba(140, 207, 105, 0.05)
*/

.sidebar a.active {
    background: linear-gradient(
        90deg,
        var(--active-bg0) 0%,
        var(--active-bg100) 100%
    );

    border: 1px solid var(--active-bg);
	border-right: none;
	border-radius: 8px 0 0 8px;
	
	padding-inline:16px;
	margin-inline:0;

    color: #dff5d2;

    box-shadow:
        inset 3px 0 0 var(--active-bg),
        0 0 12px var(--active-bg0);

    font-weight: 600;
}
