/* Speaker Menu */

#speaker_menu {
	display: flex;
	flex-direction: row-reverse;
	flex-wrap: wrap;
	gap: 17px;
}

.speaker-section {
	flex: 2;
	margin-right: 20px;
}


#new_proposal_button {
	margin-bottom: 25px;
}

#new_proposal_button > p {
	text-align: center;
}

#new_proposal_button input[type="button"], #start_submission input[type="submit"] {
	border-radius: 10px;
}

#new_proposal_button input[type="button"], #start_submission input[type="submit"] {
	background-color: #73A950;
	color: #fff;
	border: 1px solid #73A950;
}

#new_proposal_button input[type="button"]:hover, #start_submission input[type="submit"]:hover {
	background-color: #fff;
	color: var(--bodycopy);
	border: 1px solid #73A950;
}

.new_proposal_popup_btns {
	display: flex;
	flex-direction: row;
	gap: 20px;
}

.new_proposal_radio input {
	margin-right: 5px;
}

.sidebar_section {
	flex: 1;
}

.speakermenu_session {
	padding: 10px;
	z-index: 3;
	position: relative;
	background-color: #fff;
}

.speakermenu_session_container .speakermenu_session {
	margin-bottom: 40px;
	box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.inactive_tab {
	display: none;
}

.tablinks {
	border-bottom: none;
	background-color: #c5c5c5;
	z-index: 0;
	position: relative;
	bottom: -3px;
	height: 45px;
	color: #fff;
	font-size: 22px;
}

.tablinks.active {
	z-index: 6;
}

.tablinks.inactive {
	background-color: #c2c2c2;
}

.session_presenter {
	margin-bottom: 12px;
	border-bottom: 2px solid #e1e1e1;
}

.session_presenter:last-child {
	border-bottom: none;
}

.upper_menu {
	display: flex;
	flex-direction: column;
}

.sub_upper_menu {
	flex: 1;
	padding: 10px;
}

.speakermenu_toggle {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: baseline;
	gap: 15px;
}

.speakermenu_toggle .expand_icon {
	width: 40px;
	pointer-events: none;
}

.speakermenu_sessions h2 {
	pointer-events: none;
}

.speakermenu_session.closed {
	display: none;
}

.speakermenu_session.open {
	display: block;
}

.speakermenu_session li {
	margin-left: 25px;
}

.dropdown_toggle {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.dropdown_header {
	display: flex;
	flex-direction: column;
}

.dropdown_container {
	background-color: #f7f7f7;
	padding: 13px;
}

.dropdown_session_id {
	color: #888888;
}

.dropdown_container {
	flex: 1;
}

.dropdown_container .dropdown_header p {
	margin: 0;
}


.dropdown_content.closed {
	display: none;
}

.dropdown_content.open {
	display: block;
}

.tablinks {
	border: 5px solid #727272;
	border-bottom: none;
	background-color: #727272;
}

.session_accepted .speakermenu_session {
	border: 5px solid #73A950;
}

.session_accepted .tablinks {
	border: 5px solid #73A950;
	border-bottom: none;
	background-color: #73A950;
}

.session_unfinished .speakermenu_session {
	border: 5px solid #F19F52;
}

.session_unfinished .tablinks {
	border: 5px solid #F19F52;
	border-bottom: none;
	background-color: #F19F52;
}

.session_submission .speakermenu_session {
	border: 5px solid #0A2545;
}

.session_submission .tablinks {
	border: 5px solid #0A2545;
	border-bottom: none;
	background-color: #0A2545;
}

.session_declined, .session_waitlisted .speakermenu_session {
	border: 5px solid #858585;
}

.session_declined, .session_waitlisted .tablinks {
	border: 5px solid #858585;
	border-bottom: none;
	background-color: #858585;
}

.tablinks.inactive {
	background-color: #9A9A9A;
	border: 5px solid #9A9A9A;
}

.session_summary_tab {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

.session_summary_tab .session_edit_btn img {
	height: 29px;
	vertical-align: top;
}

.session_summary_tab .session_edit_btn {
	margin-left: 5px;
}

.session_presenters_tab {
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
	margin-left: 1px;
}

.session_presenters_tab .presenters_edit_btn {
	margin-left: 5px;
}
.session_presenters_tab .presenters_edit_btn img {
	height: 29px;
	vertical-align: top;
}

.session_header h2 {
	color: #0A2545;
	font-size: min(40px, 12vw);
}

.speakermenu_session > .session_format {
	margin: 2px 0;
}

.session_presenter {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	gap: 10px;
}

#speaker_menu hr {
	margin: 5px 0;
}

.presenter_speaker_photo {
	display: flex;
	justify-content: end;
}

.presenter_speaker_photo img {
	max-width: 100%;
	max-height: 180px;
}

.presenter_registration_icon {
	width: 30px;
	margin-left: 10px;
	vertical-align: sub;
}

.status-btn {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-align: center;
}

.status-btn button {
	width: 175px;
}

.status-btn button {
	height: 50px;
	color: #fff;
	background-color: #9A9A9A;
	border: 1px solid #9A9A9A;
	border-radius: 30px;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.status-btn .btn-accepted {
	background-color: #73A950;
	border: 1px solid #73A950;
}

.status-btn .btn-submission {
	background-color: #0A2545;
	border: 1px solid #0A2545;
}


.status-btn .btn-unfinished {
	background-color: #F19F52;
	border: 1px solid #F19F52;
}

.session_information {
	display: flex;
	justify-content: space-between;
	flex-direction: row;
}


.sidebar_panel {
	padding: 15px;
	border-bottom: 4px solid #fff;
}

.sidebar_profile img {
	width: 50%;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

.upper_menu .menu_icons {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	flex-wrap: wrap;
	row-gap: 20px;
	column-gap: 10px;
}

.upper_menu .menu_icon {
	flex: 1;
	min-width: 90px;
}

.upper_menu .menu_icon img{
	height: 45px;
	margin: 0 auto;
	display: block;
}

.upper_menu .menu_icon p {
	text-align: center;
	margin-top: 5px;
	font-size: 14px;
	margin-bottom: 0;
	font-weight: 700;
}

.profile_pic_edit_btn {
	width: 22%;
	margin: 0 auto;
	padding: 10px;
}

#speaker_menu > .sidebar_section h3 {
	margin-top: 0;
	margin-bottom: 0;
}

.contact_header {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-top: 20px;
}

/* .profile_photo img {
	width: 200px !important;
	height: 100% !important;
} */

.presenter-portal-header {
	padding-top: 35px;
	padding-bottom: 35px;
}

.presenter_col {
	flex: 1;
	margin-bottom: 10px;
}

.session_presenter_info {
	margin-right: 15px;
}

.presenter_bio {
	max-height: 175px;
	overflow:hidden;
}

.divider {
	border: 1px solid var(--teal);
}

/*
* Session Edit Popup Styling
*/

.edit_popup_btns {
	display: flex;
	flex-direction: row;
	gap: 15px;
	margin-top: 20px;
}

#copresenter_list table {
	width:100%;
}


/*
 * Confirm Sessions Styling
 */

.sessions_acceptance_container {
	margin-top: 50px;
	margin-bottom: 50px;
}

.confirmsessions_acceptance_checkboxes {
	margin-left: 25px;
}

.confirmsessions_acceptance_checkboxes input[type="radio"] {
	margin-right: 5px;
}

.confirmsessions_acceptance_checkboxes label {
	margin-right: 15px;
}

.confirmsessions_submit_btns input {
	margin-right: 20px;
	margin-top: 20px;
}


/*
 * Scheduling Overview
 */

.schedule-button-grid {
	margin-top: 30px;
}

.schedule-button-grid .dropdown_container {
	margin-top: 15px;
}

.schedule-btns {
	display: flex;
	flex-direction: row;
	gap: 10px;
	justify-content: space-evenly;
}


/*
 * Session resources
 */

.session_resources_container .dropdown_container {
	margin-top: 15px;
}

.content_widget_title div {
	color: white;
	font-size: 18px;
}

.content_widget_title{
	background-color: #1D3D59;
	margin-right: 0;
}
/** UI DIALOGS **/

.ui-dialog .ui-dialog-titlebar-close {
	border: none;
	background-color: transparent;
	right: 1em;
}

.ui-dialog .ui-dialog-titlebar-close {
	filter: invert(100%);
}

#contact_bio {
	/* display: inline-table; */
}

.presenter_mobile {
	width: 900px !important;
	z-index: 301 !important
}

/* Session/Staff Summary Page */

.summary-container {
	margin-bottom: 2rem;
	border: 2px solid #f1f1f1;
	background-color: #fcfcfc;
	padding: .5rem 1rem;
	box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}

.summary-header {
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
	align-items: center;
}

.summary-header h2 {
	margin-top: 0;
	margin-bottom: 1rem;
}

.summary-section-container {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.summary-section {
	padding: .5rem 1rem;
	border-bottom: 1px solid #e1e1e1;
}

.summary-section:not(.summary-incomplete):last-child {
	border-bottom: none;
}

.summary-section-container .summary-label {
	font-weight: 700;
	margin-bottom: .5rem;
	font-size: 1.35rem;
}

.summary-incomplete {
	border: 2px solid var(--alert);
}

.summary-value p {
	margin-top: 1rem;
}


@media screen and (max-width: 900px) {
	.summary-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.summary-header h2 {
		font-size: 1.75rem;
	}
}


/**
Media Queries
**/
@media only screen and (max-width: 900px) {
	.presenter_mobile {
		width: 95% !important;
	}
}

@media screen and (max-width: 1200px) {
	#speaker_menu {
		gap: 10px;
	}
}

@media screen and (max-width: 1000px) {
	.container {
		width: 100%;
	}
}

@media screen and (max-width: 850px) {

	.upper_menu .menu_icons {
		width: 80%;
		margin: 0 auto;
	}

	.upper_menu .menu_icon {
		min-width: 100px;
	}

	.upper_menu {
		gap: 0;
		flex-direction: column;
	}

	#speaker_menu {
		flex-direction: column-reverse;
	}

	.uocs_container  {
		padding-top: 10px;
		padding-left: 10px;
		padding-right: 10px;
	}

	.upper_menu .menu_icon p {
		margin-top: 10px;
	}

	.upper_menu .menu_icon img {
		height: 55px;
	}

	.sub_upper_menu {
		padding: 10px;
	}

	.session_presenter {
		flex-wrap: wrap;
	}

	#footer_text {
		margin-top: 45px;
	}

	.sidebar_profile_panel img {
		margin-left: 5px;
	}

	.profile_pic_edit_btn {
		margin-left: 0;
	}

	.sidebar_resource_panel {
		height: auto;
	}

	.session_header h2 {
		margin-top: 10px;
	}

	.speakermenu_session_container {
		margin-bottom: 20px;
	}
}

@media screen and (max-width: 700px) {
	.upper_menu .menu_icons {
		width: 95%;
		margin: 0 auto;
	}

	.session_presenter {
		flex-direction: column;
	}

	.speakermenu_sessions > .speakermenu_session {
		padding: 0;
	}

	.speaker-section {
		margin-right: 0;
	}

	.speaker-section h2 {
		font-size: 30px;
	}

	.presenter_speaker_photo {
		justify-content: start;
	}

	.presenter_speaker_photo img {
		max-height: 125px;
	}

}

@media screen and (max-width: 500px) {
	.upper_menu .menu_icons {
		width: 100%;
		row-gap: 10px;
	column-gap: 0px;
	}
	.upper_menu .menu_icon img {
		height: 35px;
	}

	.upper_menu p {
		line-height: 1.2;
		margin-bottom: .5rem;
	}

	.tab .tablinks {
		border-bottom: none;
		width: 100%;
		display: flex;
		border-radius: 0;
		height: 100%;
		justify-content: space-between;
		align-items: center;
	}

	.tab .tablinks.active {
		box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
		font-weight: 600;
	}

	.tab .tablinks.session_presenters_tab.active {
		-webkit-box-shadow: 0px -4px 12px 6px rgba(0,0,0,0.16); 
		box-shadow: 0px -4px 12px 6px rgba(0,0,0,0.16);
	}

	.tab .tablinks.inactive {
		background-color: #e4e4e4;
		border-color: #e4e4e4;
		color: #777777;
	}
	.status-btn button {
		height: 35px;
		font-size: 1rem;
		max-width: 165px;
	}

	.session_presenters_tab {
		margin-left: 0;
	}

	.speakermenu_session_container .speakermenu_session {
		margin-bottom: 25px;
		border-width: 3px;
		padding: 6px;
	}

	.container {
		padding: 8px;
	}

	.session-submit-btns {
		margin-top: 0 !important;
	}

	.session-submit-btns input {
		margin-bottom: 1rem;
	
	}

	.inside table {
		border-collapse: separate;
		border-spacing: 0 1rem;
	}

	.inside table td {
		display: block;
	}

}

/* Create New Presenter Dialog */

@media screen and (max-width: 786px) {
	#createNewCoPresenter input[type='button'] {
		font-size: 18px;
		padding: 12px 20px 10px 20px;
	}
}


/* ---------- Responsive Table ---------- */
.responsive-table {
	width: 100%;
	border-collapse: collapse;
	border: 0;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0,0,0,.06);
	border-radius: 12px;
	overflow: hidden; /* rounds header corners */
	font-size: 16px;
}
.responsive-table thead th {
	text-align: left;
	color: #fff;
	font-weight: 600;
	padding: .85rem 1rem;
	white-space: nowrap;
}
.responsive-table tbody td {
	padding: .85rem 1rem;
	border-top: 1px solid #e5e7eb;
	vertical-align: top;
}
.responsive-table tbody tr:nth-child(odd) td {
	background: #fafafa;
}
.responsive-table tbody tr:hover td {
	background: #f1f5f9;
}

/* Optional: style buttons/links in the Actions column */
.responsive-table .btn {
	display: inline-block;
	padding: .45rem .7rem;
	border-radius: .5rem;
	border: 1px solid #0f172a;
	text-decoration: none;
}
.responsive-table .btn + .btn { margin-left: .5rem; }
  
  /* ---------- Mobile: stack rows into cards ---------- */
@media (max-width: 1000px) {
	.responsive-table,
	.responsive-table thead,
	.responsive-table tbody,
	.responsive-table th,
	.responsive-table td,
	.responsive-table tr {
		display: block;
	}

	.responsive-table thead {
		/* hide the header row on mobile */
		position: absolute;
		left: -9999px;
		top: -9999px;

	}

	.responsive-table tbody tr {
		margin: .85rem 0;
		border: 1px solid #e5e7eb;
		border-radius: 12px;
		overflow: hidden;
		box-shadow: 0 1px 2px rgba(0,0,0,.04);
		background: #fff;
	}

	/* Each cell becomes a 2-column row: label | value */
	.responsive-table tbody td {
		display: grid;
		font-size: 1.2rem;
	}
	.responsive-table tbody td:first-child {
		border-top: 0;
	}

	.responsive-table tbody td::before {
		content: attr(data-label);
		font-weight: 600;
		margin-bottom: .5rem;
		font-size: 1.2rem;
		white-space: normal;
	}
	
}


  /* Profile Card */
.sidebar_panel.sidebar_profile {
	background: #fff;
	/* border: 1px solid #e8e8ee; */
	border-radius: 16px;
	/* box-shadow: 0 6px 18px rgba(16,24,40,.06); */
	padding: 20px;
	position: relative;
	overflow: hidden;
}
  
/* Top title hidden (sections have their own headings) */
.sidebar_panel.sidebar_profile > h3 { 
	display: none;
}

/* Photo */
.profile_photo {
	display: grid;
	place-items: center;
	margin-top: 6px;
	margin-bottom: 14px;
	position: relative;
}
.profile_photo .personPhoto {
	width: 120px;
	height: 120px;
	object-fit: cover;
	border-radius: 50%;
	border: 4px solid #f3f5f9;
	box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

/* Floating edit button on photo */
.sidebar_profile .profile_pic_edit_btn {
	position: absolute;
	inset: 110px 0 0 67%;
	z-index: 2;
	width: 40px;
	padding: 0;
	margin: 0;
	height: 40px;
}
.profile_pic_edit_btn img {
	filter: none;
}
.sidebar_profile .profile_pic_edit_btn a {
	display: inline-grid;
	place-items: center;
	background: none;
	box-shadow: none;
}
.profile_pic_edit_btn a:hover { transform: translateY(-1px); }
.sidebar_profile .profile_pic_edit_btn .profile-edit-icon { 
	width: 30px; 
	height: 30px; 
}

/* Sections */
.profile_contact {
	padding: 14px 14px 12px;
	margin-top: 12px;
}

.profile_contact {
	background: #fff;
	border: 1px solid #eef0f5;
	border-radius: 12px;
}

.contact_header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}
.contact_header h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color:#111827;
}
.contact_header a {
	display: inline-grid;
	place-items: center;
	width: 45px;
	height: 45px;
}
.sidebar_profile .contact_header a:hover { background:#eef6ff; transform: translateY(-1px); }
.sidebar_profile .contact_header .profile-edit-icon { 
	width: 30px; height: 30px; 
}

/* Lists */
.profile_list,
.social_list {
	list-style: none;
	margin: 0;
	padding: 0;
	color:#334155;
	font-size: 14px;
}
.profile_list li + li,
.social_list li + li { margin-top: 6px; }

/* Bio */
.profile_bio p { margin: 0; color:#334155; font-size:14px; }

/* Empty states */
.is-empty { color:#94a3b8; font-style: italic; }

/* Responsive */
@media (max-width: 1100px) {
	.sidebar_panel { 
		padding:10px; 
	}
}

@media (max-width: 860px) {
	.sidebar_panel.sidebar_profile { border-radius: 12px; padding:10px; }
	.profile_photo .personPhoto { width: 96px; height: 96px; }
}

  