/*
 * 
 *  @file              : public-share-details.css
 *  @author            : Scott Grimes
 *  @organization      : Cortez Labs LLC
 *  @copyright         : Copyright (c) 2021-2030 by Cortez Labs LLC. All Rights Reserved.
 *  @last modified on  : 05-22-2025
 *  @last modified by  : Scott Grimes
 * 
 */
:root {
	
	/* Global Variable Definitions */
	--orca-primary-color: #0f7aa8;
	--orca-primary-light-color: #1798c1;
	--orca-primary-90-color: #0f7aa890;
	--orca-primary-80-color: #0f7aa880;
	--orca-primary-70-color: #0f7aa870;
	--orca-primary-60-color: #0f7aa860;
	--orca-grey-color: #FAF9F6;

	/* Other Colors */
	--orca-primary: #0f7aa8;
	--orca-primary-light: #1798c1;
	--orca-secondary: #f8f9fa;
	--orca-dark: #212529;
	--primary-color: #0f7aa8;
	--secondary-color: #f1faff;
	--tertiary-color: #f1689a;
	--orca-white: #ffffff;

}

body {
	font-family: 'Mona Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	color: var(--orca-dark);
	background-color: #f8f9fa;
	line-height: 1.6;
}

.navbar { 
	background: linear-gradient(135deg, var(--orca-primary) 0%, var(--orca-primary-light) 100%);
	background-color: linear-gradient(135deg, var(--orca-primary) 0%, var(--orca-primary-light) 100%);
	border-color: var(--orca-primary) !important;
}

.btn-primary {
	background-color: var(--orca-primary) !important;
}
.nav-header-link { 
	color: var(--orca-secondary);
	text-decoration: none;
}
.nav-header-link.active { 
	color: var(--tertiary-color)
}
.nav-link {
	color: var(--orca-primary);
}
.nav-link:hover, .nav-link:focus {
	color: var(--orca-primary);
}
.nav-link.active {
	background-color: var(--orca-primary) !important;
	color: var(--orca-secondary) !important;
}
.nav-item-title { 
	color: var(--orca-secondary)
}

.custom-nav-item:hover {
	background-color: unset;
}

.card {
	transition: transform 0.2s;
}
.card:hover {
	transform: translateY(-5px);
}
.absolutediv { 
	position: absolute;
	top: 0;
	left: 0;
}
.card-button-z { 
	z-index: 2;
}
.card-button-z { 
	z-index: 1;
}

.hero {
	color: black;
	padding: 20px 0;
	position: relative;
	overflow: hidden;
}

.hero::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-repeat: repeat;
	background-size: 20px;
	opacity: 0.1;
}

.hero h1 {
	font-weight: 700;
	font-size: 2.5rem;
	margin-bottom: 15px;
}


.org-logos { 
	height: 6vh;
	width: 6vw;
    object-fit: scale-down;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .org-logos { 
		width: 25vw
	}
}

/* 
====================================
	Side Bar 
====================================
*/
.orca-sidebar {
	background: #fff;
	border-right: 1px solid #e5e5e5;
	padding: 1rem 0;
	height: fit-content;
}
body.dark-theme .orca-sidebar {
	background: unset;
}
.orca-sidebar #assetSearch {
	margin: 0 1rem 1rem 1rem;
	border-radius: 0.5rem;
	border: 1px solid #ddd;
	padding-left: 2.5rem;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: 0.75rem center;
	background-size: 1rem;
}
.orca-sidebar .nav-pills .nav-link {
	border-radius: 0.5rem;
	margin: 0.25rem 1rem;
	color: #666;
	border: none;
	justify-content: flex-start;
	padding: 0.75rem 1rem;
}
.orca-sidebar .nav-pills .nav-link.active {
	background: #f8f9fa;
	color: #333;
	border-left: 3px solid var(--orca-primary, #007bff);
}
.orca-sidebar .nav-pills .nav-link:hover {
	background: #f0f0f0;
	color: #333;
}
@media (max-width: 768px) {
	.orca-sidebar {
		border-right: none;
		border-bottom: 1px solid #e5e5e5;
		order: 2;
	}
	.orca-sidebar .nav-pills {
		flex-direction: row;
		overflow-x: auto;
	}
	.orca-sidebar .nav-pills .nav-link {
		margin: 0.25rem 0.5rem 0.25rem 0;
		white-space: nowrap;
	}
}




/* 
====================================
	Asset Tiles
====================================
*/
.asset-tile {
    cursor: pointer;
}

.asset-tile:hover {
    transform: translateY(-0.125rem);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    background-color: rgba(var(--primary-color), 0.05); /* Subtle tint using your primary color */
}

.asset-tile:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.asset-tile .card-text {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit explanation to 3 lines for brevity */
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* 
====================================
	Cards
====================================
*/


/* ------------------------------------ */
/* Content Details CSS */
.content-description {
    line-height: 1.6;
    white-space: pre-line;
}

.content-details {
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
	margin-top: -30px;
	margin-bottom: 40px;
	padding: 30px;
	position: relative;
	z-index: 10;
}

.content-image {
	width: 100%;
	max-height: 300px;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 20px;
}

.content-type-badge {
	padding: 5px 10px;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	background-color: var(--orca-primary);
	color: white;
	display: inline-block;
	margin-bottom: 15px;
}

.content-meta {
	font-size: 0.9rem;
	color: #6c757d;
	margin-bottom: 20px;
}

.content-meta i {
	margin-right: 5px;
}

.content-section {
	padding: 40px 0;
}

/* ------------------------------------ */
/* Meeting Details CSS */
.meeting-references {
	line-height: 1.6;
	white-space: pre-line;
}

.meeting-details {
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
	margin-top: -30px;
	margin-bottom: 40px;
	padding: 30px;
	position: relative;
	z-index: 10;
}

.meeting-image {
	width: 100%;
	max-height: 300px;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 20px;
}

.meeting-type-badge {
	padding: 5px 10px;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	background-color: var(--orca-primary);
	color: white;
	display: inline-block;
	margin-bottom: 15px;
}

.meeting-meta {
	font-size: 0.9rem;
	color: #6c757d;
	margin-bottom: 20px;
}

.meeting-meta i {
	margin-right: 5px;
}

.meeting-section {
	padding: 40px 0;
}


/* ------------------------------------ */
/* Custom Button CSS */
.btn-orca {
	background-color: var(--orca-primary);
	border-color: var(--orca-primary);
	color: white;
	font-weight: 500;
	padding: 8px 20px;
	border-radius: 6px;
	transition: all 0.3s ease;
}

.btn-orca:hover {
	background-color: white;
	color: var(--orca-primary);
	border-color: var(--orca-primary);
}


/* ------------------------------------ */
/* File CSS */
.files-list {
	margin-top: 20px;
}

.files-list h5 {
	font-weight: 600;
	margin-bottom: 15px;
}

.file-item {
	display: flex;
	align-items: center;
	padding: 10px;
	border-bottom: 1px solid #e9ecef;
}

.file-item i {
	margin-right: 10px;
	color: var(--orca-primary);
}

.file-item a {
	color: var(--orca-primary);
	text-decoration: none;
}

.file-item a:hover {
	text-decoration: underline;
}

footer {
	padding: 40px 0;
	background-color: #212529;
	color: rgba(255,255,255,0.7);
	margin-top: 60px;
}

.footer-logo {
	height: 30px;
	margin-bottom: 20px;
	filter: brightness(0) invert(1);
}

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

	.content-image {
		max-height: 200px;
	}
}

/* ------------------------------------ */
/* Attachments Grid Styles */
.attachments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    padding: 1rem 0;
}

.attachment-item {
    position: relative;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #fff;
}

@media (max-width: 768px) {
	.attachment-item { 
		max-width: 70vw;
	}
}

.attachment-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.attachment-container {
    position: relative;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.attachment-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f8f9fa;
}

.attachment-icon i {
    font-size: 24px;
    color: #6c757d;
}

/* File type specific colors */
.file-pdf i { color: #dc3545; }
.file-word i { color: #0d6efd; }
.file-excel i { color: #198754; }
.file-powerpoint i { color: #fd7e14; }
.file-image i { color: #6f42c1; }
.file-video i { color: #d63384; }
.file-audio i { color: #20c997; }
.file-archive i { color: #6c757d; }
.file-text i { color: #495057; }

.attachment-info {
    flex-grow: 1;
    min-width: 0; /* Allow text to truncate */
}

.attachment-name {
    font-weight: 500;
    font-size: 0.9rem;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
}

.attachment-meta {
    display: flex;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #6c757d;
}

.file-type {
    background: #e9ecef;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-weight: 500;
}

.attachment-actions {
    flex-shrink: 0;
    display: flex;
    gap: 0.25rem;
}

.attachment-actions .btn {
	border: unset;
    width: 20px;
    height: 20px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attachment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 123, 255, 0.9);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    text-align: center;
}

.attachment-item:hover .attachment-overlay {
    opacity: 1;
}

.attachment-overlay-content h6 {
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
}

.error-container {
    text-align: center;
    padding: 3rem 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .attachments-grid {
        grid-template-columns: 1fr;
    }
    
    .attachment-container {
        padding: 0.75rem;
    }
}

.orca-icon-restricted-width { 
	max-width: 15px;
}