/* for mail form */
body
{
	/*
	background-color: #1c1d48;
	*/
	background-color: #1c1d48;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	font-family: Arial, Helvetica, Geneva, sans-serif;
	font-size: 12px;
	color: #ffffff;
	font-weight: normal;
	text-decoration: none;
}

/* General link styles */
a:link {
	font-size: 1.5rem;
	font-family: Arial, Helvetica, Geneva, sans-serif;
	text-decoration: none;
	color: #00a0ff;
}

a:visited {
	font-size: 1.5rem;
	font-family: Arial, Helvetica, Geneva, sans-serif;
	text-decoration: none;
	color: #00a0ff;
}

a:hover {
	font-size: 1.5rem;
	font-family: Arial, Helvetica, Geneva, sans-serif;
	font-style: italic;
	color: #00ff00;
}

a:active {
	font-size: 1.5rem;
	font-family: Arial, Helvetica, Geneva, sans-serif;
	text-decoration: none;
	color: #00ffff;
}

/* Table flex display for form layout */
/* changed 251018 */
table {
	/*
	display: flex;
	*/
}

h1
{
	color: #ffffff;
	font-size: 20pt;
	font-weight: bold;
}

.admin_title
{
	background-color: #1c1d48;
}

.admin_table
{
	background-color: #1c1d48;
	border: thick inset #333333;
	border-spacing: 12px;
	border-collapse: separate;
	color: #ffffff;
}

.admin_table_1
{
	background-color: #1c1d48;
	border-spacing: 12px;
	border-collapse: separate;
	color: #ffffff;
}

.list_table
{
	background-color: #ffffff;
	border-collapse: separate;
	color: #d0d0d0;
}

.admin_table_2
{
	background-color: #cccccc;
	border: thick outset #ffffff;
	border-spacing: 12px;
	border-collapse: separate;
	color: #000000;
}

.admin_table_left
{
	margin-right: 200px;
	background-color: #cccccc;
	border: thick inset #333333;
	border-spacing: 12px;
	border-collapse: separate;
	color: #000000;
}

#done_div
{
	position:fixed;
	top:100px;
	left:300px;
	width:300px;
	height:200px;
	color:#ffffff;
	font-family:Helvetica,Arial,sans-serif;
	font-size:20pt;
	font-weight:bold;
	background-color:#333333;
	visibility:hidden;
	border:10px outset #888888;
}

.tbl_pos
{
	color: #000000;
	border-collapse: separate;
	border-spacing: 0px 3px;
}

.tbl_timesheet
{
	color: #000000;
	border-collapse: separate;
	border-spacing: 0px 5px;
}

.admin_td
{
	border-left-style: none;
	border-right-style: none;
	border-top: 1px inset #333333;
}
.admin_td_first
{
	border-right-style: none;
	border-top: 1px inset #333333;
}

.admin_td_last
{
	border-left-style: none;
	border-top: 1px inset #333333;
}

.blue_back
{
	background-color: #9999ff;
}

.deleted_back
{
	background-color: #ff0000;
}

.small_font
{
	font-size: 12px;
}

.tiny_font
{
	font-size: 8px;
}

.orders_dates
{
    font-family: Arial, Helvetica, Geneva,  sans-serif;
	font-size: medium;
	font-weight: bold;
	text-decoration: none;
}

.orders_page
{
    font-family: Arial, Helvetica, Geneva,  sans-serif;
	font-size: small;
	font-weight: normal;
	text-decoration: none;
}
	
.omdone_bigtext
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 24px;
	font-weight: bold;
	text-decoration: none;
}
.omdone_text
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: normal;
	text-decoration: none;
}
.form_done_txt_small
{
    font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: normal;
	text-decoration: none;
}
.form_done_txt
{
    font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
}
.form_done_txt_big
{
    font-family: Arial, Helvetica, sans-serif;
	font-size: 24px;
	font-weight: bold;
	text-decoration: none;
}
.form_data
{
    font-family: Arial, Helvetica, Geneva,  sans-serif;
	font-size: 18px;
	font-weight: bold;
	text-decoration: none;
	color: #000000;
}
.form_data_big
{
    font-family: Arial, Helvetica, Geneva,  sans-serif;
	font-size: 20pt;
	font-weight: bold;
	text-decoration: none;
	color: #000000;
}
.form_tag
{
	font-family: Arial, Helvetica, Geneva,  sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
	margin-left: auto;
	margin-right: auto;
	padding-left: 4px;
	padding-right: 4px;
	outline: 1px inset #333333;
	background-color: #bbbbbb;
	color: #000000;
}
.form_td_reason
{
	margin-left: auto;
	margin-right: auto;
	outline: 1px inset #333333;
	color: #000000;
	background-color: #ffff00;
}
.form_td
{
	margin-left: auto;
	margin-right: auto;
	outline: 1px inset #333333;
}
.form_text
{
    font-family: Arial, Helvetica, Geneva,  sans-serif;
	font-size: 12px;
	font-weight: normal;
	text-decoration: none;
}
.form_warn
{
	font-family: Helvetica, Arial, Geneva,  sans-serif;
	font-size: small;
	font-weight: bold;
	font-style: italic;
}
.form_box
{
}
.form_button
{
}
.form_textarea
{
	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: normal;
}
.form_select
{
}
.form_radio
{
}
.wsdone_page
{
	background-color: black;
}
.valid_color
{
	background-color:#00c000;
	color: #ffffff;
}
.hold_color
{
	background-color:#f0f000;
	color: #000000;
}
.waiting_color
{
	background-color:#c00000;
	color: #ffffff;
}
.wsdone_text
{
	position:absolute;
	left:200px;
	top:200px;
	color: white;
}
.all_type
{
	background-color:#333333;
	color: #ffffff;
	cursor: pointer;
}
.staff_type
{
	background-color: #cccccc;
}
.volunteer_type
{
	background-color: #e0e0e0;
}
.not_valid_staff_type
{
	background-color: #ddc0c0;
}
.not_valid_volunteer_type
{
	background-color: #eee0e0;
}
.list_header_class
{
	font-family: Arial, Helvetica, Geneva,  sans-serif;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	color:#000000;
}
.list_class
{
	font-family: Arial, Helvetica, Geneva,  sans-serif;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
}
.list_data
{
	font-family: Arial, Helvetica, Geneva,  sans-serif;
	font-size: 12px;
	font-weight: normal;
	text-decoration: none;
	color: #d0d0d0;
}
.list_data_ghost
{
	color: #666666;
	font-family: Arial, Helvetica, Geneva,  sans-serif;
	font-size: 12px;
	font-weight: normal;
	text-decoration: none;
}
.list_td
{
	outline: 1px inset #333333;
}
.diffident
{
	position: fixed;
	bottom: 10px;
	right: 10px;
	font-size: xx-small; 
	font-family: Arial,Helvetica,Geneva,sans-serif;
	text-decoration: none;
	color: #aaaaaa;
	z-index: 0;
}
a.big_link:link 
{
	font-size: 18px; 
	font-family: Arial,Helvetica,Geneva,sans-serif;
	text-decoration: none;
	color: #00a0ff;
}
a.big_link:visited
{
	font-size: 18px; 
	font-family: Arial,Helvetica,Geneva,sans-serif;
	text-decoration: none;
	color: #00a0ff;
}
a.big_link:hover
{
	font-size: 18px; 
	font-family: Arial,Helvetica,Geneva,sans-serif;
	font-style: italic;
	color: #00ff00;
}
a.big_link:active
{
	font-size: 18px; 
	font-family: Arial,Helvetica,Geneva,sans-serif;
	text-decoration: none;
	color: #ffffff;
}
a.ar_link:link 
{
	font-size: small; 
	font-family: Arial,Helvetica,Geneva,sans-serif;
	text-decoration: none;
	color: #aaaaaa;
}
a.ar_link:visited
{
	font-size: small; 
	font-family: Arial,Helvetica,Geneva,sans-serif;
	text-decoration: none;
	color: #aaaaaa;
}
a.ar_link:hover
{
	font-size: small; 
	font-family: Arial,Helvetica,Geneva,sans-serif;
	font-style: italic;
	color: #aaaaff;
}
a.ar_link:active
{
	font-size: small; 
	font-family: Arial,Helvetica,Geneva,sans-serif;
	text-decoration: none;
	color: #ffffff;
}
a.tiny_link:link 
{
	font-size: xx-small; 
	font-family: Arial,Helvetica,Geneva,sans-serif;
	text-decoration: none;
	color: #aaaaaa;
}
a.tiny_link:visited
{
	font-size: xx-small; 
	font-family: Arial,Helvetica,Geneva,sans-serif;
	text-decoration: none;
	color: #aaaaaa;
}
a.tiny_link:hover
{
	font-size: xx-small; 
	font-family: Arial,Helvetica,Geneva,sans-serif;
	font-style: italic;
	color: #aaaaff;
}
a.tiny_link:active
{
	font-size: xx-small; 
	font-family: Arial,Helvetica,Geneva,sans-serif;
	text-decoration: none;
	color: #ffffff;
}
.ar_name
{
	font-size: 20px;
	font-family: Arial,Helvetica,Geneva,sans-serif;
	font-weight: bold;
}
.cd_title
{
	font-size: medium;
	font-family: Arial,Helvetica,Geneva,sans-serif;
	font-weight: bold;
}

/* spinner from chat */
.cute-spinner {
  display: flex;
  align-items: center;
  font-family: sans-serif;
  font-size: 1rem;
  color: #555;
  margin-top: 1em;
}

.dot-flashing {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: #58b;
  animation: dotFlashing 1s infinite linear alternate;
}

@keyframes dotFlashing {
  0% { background-color: #58b; opacity: 1; }
  50% { background-color: #a8d; opacity: 0.5; }
  100% { background-color: #58b; opacity: 1; }
}

/* Staff form specific mobile fixes */
@media (max-width: 768px) {
    /* Special handling for job selection on mobile - use larger mobile layout */
    .job-selection-desktop {
        display: none !important;
    }
    
    .job-selection-mobile {
        display: flex !important;
        transform: scale(1.0); /* No additional scaling - use same as rest of form */
        transform-origin: center;
        margin: 2rem 0;
    }
    
    .job-selection-mobile .job-list select {
        min-height: 100px;
        font-size: 14px;
    }
    
    .job-selection-mobile .job-btn {
        font-size: 14px;
        padding: 0.5rem;
    }
}

/* Desktop job selection - OUTSIDE media query */
@media (min-width: 769px) {
    .job-selection-mobile {
        display: none;
    }

    .job-selection-desktop {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr;
        gap: 1rem;
        align-items: stretch;
    }

    .job-list select {
        min-height: 200px;
    }

    .job-buttons {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        padding: 1rem 0;
    }

    .job-btn {
        min-width: 100px;
        max-width: none;
    }
}
/* Staff form specific styling */
.fred {
    display: flex;
    flex-shrink: 1;
    background-color: #1c1d48;
    width: 32rem;
    outline: 2px solid #0000ff;
    padding: 10px;
    margin: 0 auto;
}

/* Staff membership disclaimer styling */
#mem_disclaimer {
    position: absolute;
    top: 20px;
    display: none;
}

#first_login {
    position: fixed;
    top: 100px;
    left: 100px;
    width: 450px;
    height: auto;
    background-color: #303030;
    color: #ffffff;
    text-align: left;
    padding: 8px;
    font-family: sans-serif;
    font-size: 12pt;
    outline: 3pt solid #606060;
    display: none;
}

/* Job Selection - Aliases for universal dual-select classes */
.job-selection { } /* Inherits from .dual-select in dual_select.css */
.job-selection-container { } /* Inherits from .dual-select-container */
.job-selection-desktop { } /* Inherits from .dual-select-desktop */
.job-selection-mobile { } /* Inherits from .dual-select-mobile */
.job-list { } /* Inherits from .dual-list */
.job-list-label { } /* Inherits from .dual-list-label */
.job-list select { } /* Inherits from .dual-list-select */
.job-buttons { } /* Inherits from .dual-buttons */
.job-buttons-mobile { } /* Inherits from .dual-buttons-mobile */
.job-btn { } /* Inherits from .dual-btn */

/* Show Selection - Aliases for universal dual-select classes */
.show-selection { } /* Inherits from .dual-select */
.show-selection-container { } /* Inherits from .dual-select-container */
.show-selection-desktop { } /* Inherits from .dual-select-desktop */
.show-selection-mobile { } /* Inherits from .dual-select-mobile */
.show-list { } /* Inherits from .dual-list */
.show-list-label { } /* Inherits from .dual-list-label */
.show-list select { } /* Inherits from .dual-list-select */
.show-buttons { } /* Inherits from .dual-buttons */
.show-buttons-mobile { } /* Inherits from .dual-buttons-mobile */
.show-btn { } /* Inherits from .dual-btn */

/* Mobile Checkbox Interface Styles */
.mobile-checkbox-list {
	background-color: #000050;
	border: 1px solid #808080;
	border-radius: 4px;
	padding: 1rem;
	margin-bottom: 1rem;
	overflow: visible; /* Don't clip the scrollable child */
}

/* Scrollable checkbox container */
#available-jobs-mobile-checkboxes,
#assigned-jobs-mobile-checkboxes,
#available-shows-mobile-checkboxes,
#assigned-shows-mobile-checkboxes {
	max-height: 400px;
	overflow-y: auto !important;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
	display: block;
	position: relative;
}

.checkbox-item-mobile {
	padding: 0.75rem;
	margin: 0.5rem 0;
	background-color: #1c1d48;
	border: 1px solid #666;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.2s;
}

.checkbox-item-mobile:hover {
	background-color: #252670;
}

.checkbox-item-mobile label {
	display: flex;
	align-items: center;
	cursor: pointer;
	color: #ffffff;
	font-size: 1.1rem;
	width: 100%;
}

.checkbox-item-mobile input[type="checkbox"] {
	margin-right: 0.75rem;
	width: 20px;
	height: 20px;
	cursor: pointer;
}

.no-items-mobile {
	padding: 1rem;
	text-align: center;
	color: #888;
	font-style: italic;
	font-size: 1rem;
}

.move-btn {
	width: 100%;
	padding: 0.75rem;
	margin-top: 1rem;
	background-color: #0000aa;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 1.1rem;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.2s;
}

.move-btn:hover {
	background-color: #0000cc;
}

.move-btn:active {
	background-color: #000088;
}

/* Default visibility - controlled by JavaScript based on device detection */
.dual-select-mobile {
	display: none;
}

.dual-select-desktop {
	display: flex;
}

/* When mobile is active (set by JavaScript) */
body.mobile-active .dual-select-mobile {
	display: block !important;
}

body.mobile-active .dual-select-desktop {
	display: none !important;
}

/* When desktop is active (default, or set explicitly) */
body.desktop-active .dual-select-mobile {
	display: none !important;
}

body.desktop-active .dual-select-desktop {
	display: flex !important;
}

