/* --------------------------------------------------------------------------------------------------------------------- */
/* MEMBER AREA - panou, caini, inscrieri, confirmare, plati, cont nou */
/* Preluat din ciobanestielvetieni.dogshowmanager.eu, pe paleta achsudvest (albastrul butoanelor). */
/* --------------------------------------------------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------------------------------------------------- */
/* MEMBER DASHBOARD */
/* --------------------------------------------------------------------------------------------------------------------- */

#dashboard
{
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: 0.5rem 0 1rem 0;
}

#dashboard h2.dash_title
{
	font-size: 1.1rem;
	line-height: 1.5rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #1f6391;
	margin-bottom: -0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #dde5ec;
}

/* header ---------------------------------------------------------------- */

.dash_head
{
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1.25rem;
	padding: 1.25rem;
	border: 1px solid #cfdbe6;
	border-left: 4px solid #1f6391;
	border-radius: 4px;
	background: linear-gradient(105deg, #fbfcfd 0%, #eef3f7 100%);
}

.dash_avatar
{
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #1f6391;
	color: #fff;
	font-size: 1.5rem;
	line-height: 64px;
	font-weight: 900;
	text-align: center;
	letter-spacing: 0.05em;
	flex: none;
}

.dash_identity h1
{
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 900;
	color: #222;
}

.dash_identity p.dash_intro
{
	color: #5b6b7a;
	line-height: 1.4rem;
}

.dash_meta
{
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
	margin-top: 0.5rem;
}

.dash_meta_item
{
	color: #5b6b7a;
	font-size: 0.9rem;
	line-height: 1.4rem;
}

.dash_meta_item + .dash_meta_item
{
	padding-left: 1rem;
	border-left: 1px solid #cfdbe6;
}

/* steagul se aliniaza pe linia de 1.4rem a randului de meta, nu pe cea
   implicita; tarile fara sprite nu rezerva gutiera de 20px */
.dash_meta_item.flag
{
	padding-top: 0;
	padding-bottom: 0;
	padding-left: 1rem;
	background-position: 0 center;
}

/* tarile care au sprite primesc gutiera pentru el, in plus fata de
   spatiul dintre elementele randului */
.dash_meta_item.flag.has_flag
{
	padding-left: 2.4rem;
	background-position: 1rem center;
}


.dash_badges
{
	margin-top: 0.5rem;
}

.dash_badge
{
	display: inline-block;
	padding: 2px 10px;
	border-radius: 10px;
	font-size: 0.8rem;
	line-height: 1.2rem;
	font-weight: 900;
	border: 1px solid;
}

.dash_badge_ok
{
	color: #1d5b1d;
	border-color: #a9d3a9;
	background: #eaf6ea;
}

.dash_badge_warn
{
	color: #7a5b00;
	border-color: #e0cd7a;
	background: #fdf7e0;
}

.dash_head_actions
{
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	align-items: stretch;
}

/* buttons --------------------------------------------------------------- */

.dash_button
{
	display: block;
	min-width: 15rem;
	padding: 0 1.25rem;
	line-height: 2.75rem;
	text-align: center;
	text-decoration: none;
	font-weight: 900;
	border-radius: 3px;
	border: 1px solid transparent;
	white-space: nowrap;
}

.dash_button_small
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-width: 0;
	padding: 0 1rem;
	line-height: 2.1rem;
	font-size: 0.9rem;
}

/* pictograma preia culoarea textului, deci urmeaza si starea de hover */
.dash_button svg.btn_icon
{
	flex: none;
	display: block;
}

.dash_button.is_disabled,
.dash_button.is_disabled:link,
.dash_button.is_disabled:visited,
.dash_button.is_disabled:hover
{
	background: #cfdbe6;
	border-color: #b9cadb;
	color: #fff;
	cursor: not-allowed;
}

.dash_button_primary,
.dash_button_primary:link,
.dash_button_primary:visited
{
	background: #1f6391;
	border-color: #174a6d;
	color: #fff;
}

.dash_button_primary:hover,
.dash_button_primary:focus
{
	background: #2492b3;
	color: #fff;
}

.dash_button_ghost,
.dash_button_ghost:link,
.dash_button_ghost:visited
{
	background: #fff;
	border-color: #b9cadb;
	color: #1b2a38;
}

.dash_button_ghost:hover,
.dash_button_ghost:focus
{
	border-color: #1f6391;
	color: #1f6391;
}

/* deadline -------------------------------------------------------------- */

.dash_deadline
{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	padding: 0.75rem 1.25rem;
	border: 1px solid;
	border-radius: 4px;
}

.dash_deadline_label
{
	font-weight: 900;
}

.dash_deadline_count
{
	font-size: 0.9rem;
	padding: 2px 10px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.6);
}

.dash_deadline_open
{
	border-color: #a9d3a9;
	background: #eef8ee;
}

.dash_deadline_closed
{
	border-color: #cfdbe6;
	background: #f1f4f7;
	color: #5b6b7a;
}

/* notice ---------------------------------------------------------------- */

/* avertisment care cere o actiune din partea membrului: pictograma, titlu,
   explicatie si butonul care duce la rezolvare */
.dash_notice
{
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.75rem 1rem;
	padding: 1rem 1.25rem;
	border: 1px solid;
	border-left-width: 4px;
	border-radius: 4px;
}

.dash_notice_warn
{
	color: #6b4f00;
	border-color: #e0cd7a;
	border-left-color: #c99a06;
	background: #fdf8e6;
}

.dash_notice_icon
{
	display: block;
	flex: none;
	color: #c99a06;
}

.dash_notice_text p
{
	color: inherit;
	font-size: 0.95rem;
	line-height: 1.4rem;
}

.dash_notice_text p.dash_notice_title
{
	font-weight: 900;
	font-size: 1rem;
	margin-bottom: 0.1rem;
}

.dash_notice_warn .dash_notice_action,
.dash_notice_warn .dash_notice_action:link,
.dash_notice_warn .dash_notice_action:visited
{
	background: #fff;
	border-color: #c99a06;
	color: #6b4f00;
}

.dash_notice_warn .dash_notice_action:hover,
.dash_notice_warn .dash_notice_action:focus
{
	background: #c99a06;
	border-color: #c99a06;
	color: #fff;
}

/* statistics ------------------------------------------------------------ */

.dash_stats
{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}

.dash_stat
{
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 1rem 1.25rem;
	text-decoration: none;
	border: 1px solid #cfdbe6;
	border-top: 3px solid #2492b3;
	border-radius: 4px;
	background: #fff;
}

.dash_stat:hover
{
	border-color: #2980b9;
	border-top-color: #1f6391;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.dash_stat_value
{
	font-size: 2.25rem;
	line-height: 2.75rem;
	font-weight: 900;
	color: #222;
}

.dash_stat_label
{
	font-size: 0.85rem;
	line-height: 1.2rem;
	color: #5b6b7a;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.dash_stat_note
{
	font-size: 0.8rem;
	line-height: 1.2rem;
	color: #66737f;
	margin-top: 0.25rem;
	padding-top: 0.35rem;
	border-top: 1px solid #e6ecf1;
}

/* action cards ---------------------------------------------------------- */

.dash_cards
{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.dash_card
{
	display: flex;
	flex-direction: column;
	padding: 1.25rem;
	border: 1px solid #cfdbe6;
	border-radius: 4px;
	background: #fff;
}

.dash_card h3
{
	font-size: 1.1rem;
	line-height: 1.6rem;
	font-weight: 900;
	margin-bottom: 0.35rem;
}

.dash_card p
{
	color: #5b6b7a;
	font-size: 0.9rem;
	line-height: 1.35rem;
}

.dash_card p.dash_card_actions
{
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
	margin-top: auto;
	padding-top: 0.75rem;
}

.dash_link,
.dash_link:link,
.dash_link:visited
{
	font-size: 0.9rem;
	color: #2492b3;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.dash_link:hover,
.dash_link:focus
{
	color: #1f6391;
	border-bottom-color: #1f6391;
}

.dash_link_strong
{
	font-weight: 900;
}

.dash_note
{
	margin-top: 0;
}

/* --------------------------------------------------------------------------------------------------------------------- */
}

/* --------------------------------------------------------------------------------------------------------------------- */
/* PAGE CARDS */
/* --------------------------------------------------------------------------------------------------------------------- */

.page
{
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 0.5rem 0 1rem 0;
}

.page_card
{
	min-width: 0;
	padding: 1.25rem;
	border: 1px solid #cfdbe6;
	border-radius: 4px;
	background: #fff;
}

.page_head > .page_card
{
	flex: 1 1 20rem;
}

.page_card_title
{
	font-size: 1.1rem;
	line-height: 1.6rem;
	font-weight: 900;
	margin-bottom: 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #e6ecf1;
}

/* --------------------------------------------------------------------------------------------------------------------- */
/* MEMBER ACCOUNT FORMS (cont nou + modificare cont) */
/* --------------------------------------------------------------------------------------------------------------------- */

.member_form fieldset
{
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.member_form .page_card div.grid
{
	margin-top: 0;
	padding: 0.35rem 0;
	grid-template-columns: minmax(200px, auto) 1fr;
}

.member_form .page_card div.grid label
{
	color: #5b6b7a;
}

.member_form input[type="text"],
.member_form input[type="email"],
.member_form input[type="tel"],
.member_form input[type="password"],
.member_form select
{
	background: #fff;
	border-color: #b9cadb;
	border-top-color: #9fb3c6;
	min-height: 2.25rem;
}

.member_form input[type="text"]:focus,
.member_form input[type="email"]:focus,
.member_form input[type="tel"]:focus,
.member_form input[type="password"]:focus,
.member_form select:focus
{
	outline: 2px solid #2980b9;
	outline-offset: 1px;
}

/* avertismentul de dovada lipsa sta deasupra formularului, nu in fluxul lui */
.member_form .dash_notice
{
	margin-bottom: 0.25rem;
}

.acc_check
{
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding-top: 0.6rem;
	margin-top: 0.35rem;
	border-top: 1px solid #e6ecf1;
}

.acc_check input
{
	width: auto;
	margin: 0;
	flex: none;
	transform: scale(1.3);
}

.acc_check label
{
	cursor: pointer;
}

p.acc_hint
{
	margin-bottom: 0.5rem;
	color: #66737f;
	font-size: 0.9rem;
	line-height: 1.35rem;
}

.member_form #div_agree_use
{
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.75rem 0.75rem 0.75rem 32px;
}

.member_form #div_agree_use input
{
	width: auto;
	margin: 0;
	flex: none;
	transform: scale(1.3);
}

/* --------------------------------------------------------------------------------------------------------------------- */
}

/* --------------------------------------------------------------------------------------------------------------------- */
/* MEMBER DOG LIST */
/* --------------------------------------------------------------------------------------------------------------------- */

#dogs_list
{
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 0.5rem 0 1rem 0;
}

.page_head,
.dog_head
{
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #dde5ec;
}

.page_head h1,
.dog_head h1
{
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 900;
}

.page_count,
.dog_count
{
	display: inline-block;
	min-width: 1.75rem;
	margin-left: 0.5rem;
	padding: 0 0.5rem;
	border-radius: 12px;
	background: #1f6391;
	color: #fff;
	font-size: 0.9rem;
	line-height: 1.6rem;
	font-weight: 900;
	text-align: center;
	vertical-align: middle;
}

.page_head p.page_intro,
.dog_head p.dog_intro
{
	color: #5b6b7a;
	line-height: 1.4rem;
	max-width: 40rem;
}

.page_head_actions,
.dog_head_actions
{
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

/* one card per dog ------------------------------------------------------- */

.dog_card
{
	border: 1px solid #cfdbe6;
	border-left: 4px solid #2492b3;
	border-radius: 4px;
	background: #fff;
	padding: 1rem 1.25rem;
}

.dog_card_head
{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
}

h2.dog_name
{
	font-size: 1.2rem;
	line-height: 1.75rem;
	font-weight: 900;
	color: #222;
}

.dog_sex
{
	display: inline-block;
	padding: 1px 10px;
	border-radius: 10px;
	font-size: 0.75rem;
	line-height: 1.2rem;
	font-weight: 900;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border: 1px solid;
}

.dog_sex_m
{
	color: #234a6b;
	border-color: #a6c2d8;
	background: #eaf2f8;
}

.dog_sex_f
{
	color: #6b2350;
	border-color: #d8a6c4;
	background: #f8eaf3;
}

.dog_born
{
	display: inline-flex;
	align-items: baseline;
	gap: 0.4rem;
	padding: 2px 10px;
	border: 1px solid #cfdbe6;
	border-left: 3px solid #1f6391;
	border-radius: 3px;
	background: #f8fafb;
}

.dog_born_label
{
	font-size: 0.7rem;
	line-height: 1.1rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #66737f;
}

.dog_born_value
{
	font-size: 1rem;
	line-height: 1.4rem;
	font-weight: 900;
	color: #222;
	white-space: nowrap;
}

/* butonul de modificare se aliniaza la dreapta in capul cardului */
.dog_card_head .dog_edit
{
	margin-left: auto;
}

p.dog_breed
{
	margin-top: 0.15rem;
	color: #5b6b7a;
	line-height: 1.4rem;
}

.dog_standard
{
	display: inline-block;
	margin-left: 0.35rem;
	padding: 0 7px;
	border-radius: 3px;
	background: #f1f4f7;
	border: 1px solid #dde5ec;
	color: #66737f;
	font-size: 0.8rem;
	line-height: 1.2rem;
}

/* attribute grid --------------------------------------------------------- */

dl.dog_facts
{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
	gap: 0.35rem 1.5rem;
	margin-top: 0.9rem;
	padding-top: 0.9rem;
	border-top: 1px solid #e6ecf1;
}

/* eticheta si valoarea pe acelasi rand: valoarea e bold, deci se disting
   oricum, iar cardul devine pe jumatate mai inalt */
.dog_fact
{
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 0.5rem;
}

.dog_fact dt
{
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #66737f;
	line-height: 1.4rem;
}

.dog_fact dd
{
	font-size: 0.95rem;
	line-height: 1.4rem;
	font-weight: 900;
	color: #222;
	word-break: break-word;
}

p.dog_registered
{
	margin-top: 0.9rem;
	padding-top: 0.6rem;
	border-top: 1px solid #e6ecf1;
	font-size: 0.8rem;
	line-height: 1.2rem;
	color: #66737f;
}

/* --------------------------------------------------------------------------------------------------------------------- */
/* MEMBER ENTRY LIST */
/* --------------------------------------------------------------------------------------------------------------------- */

#entries_list
{
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 0.5rem 0 1rem 0;
}

#entries_list .dog_card
{
	border-left-color: #1f6391;
}

p.ent_shows_title
{
	margin-top: 0.9rem;
	padding-top: 0.9rem;
	border-top: 1px solid #e6ecf1;
	font-size: 0.75rem;
	line-height: 1.1rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #66737f;
}

.ent_show
{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.75rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid #eef2f5;
}

.ent_show:last-of-type
{
	border-bottom: 0;
}

.ent_show_name
{
	font-weight: 900;
	color: #222;
}

.ent_show_date
{
	color: #5b6b7a;
	font-size: 0.9rem;
}

.ent_show .pay_badge
{
	margin-left: auto;
}

/* --------------------------------------------------------------------------------------------------------------------- */
/* DOGS AVAILABLE TO ENTER */
/* --------------------------------------------------------------------------------------------------------------------- */

#available_list
{
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 0.5rem 0 1rem 0;
}

#available_list .dog_card
{
	border-left-color: #1e8449;
}

/* un rand de selectie pe expozitie. Ordinea copiilor ramane cea asteptata de
   scriptul din pagina: p.info, p.error, label, checkbox, select - fratii nu
   se schimba, doar prezentarea */
#available_list fieldset#entryform div.ent_pick
{
	align-items: center;
	gap: 0.5rem 0.75rem;
	margin-top: 0.5rem;
	padding: 0.75rem;
	border: 1px solid #dde5ec;
	border-radius: 4px;
	background: #f8fafb;
	grid-template-columns: minmax(200px, auto) auto 1fr;
}

#available_list fieldset#entryform div.ent_pick label.longer
{
	font-weight: 900;
	color: #222;
}

#available_list fieldset#entryform div.ent_pick p.info
{
	margin: 0 0 0.25rem 0;
	padding: 4px 8px 4px 26px;
	font-weight: 400;
	font-size: 0.85rem;
	line-height: 1.3rem;
	box-shadow: none;
	background-position: 5px 6px;
}

#available_list fieldset#entryform div.ent_pick select.exhibition_class
{
	max-width: 22rem;
}

.ent_submit
{
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.5rem;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #dde5ec;
}

.ent_submit input.dash_button
{
	border-radius: 3px;
	cursor: pointer;
}

/* --------------------------------------------------------------------------------------------------------------------- */
/* ENTRY CONFIRMATION / PAYMENT */
/* --------------------------------------------------------------------------------------------------------------------- */

#entry_check
{
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 0.5rem 0 1rem 0;
}

#entry_check .dog_card
{
	border-left-color: #b06a00;
}

.chk_index
{
	display: inline-block;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	background: #1f6391;
	color: #fff;
	font-size: 0.85rem;
	line-height: 1.6rem;
	font-weight: 900;
	text-align: center;
	flex: none;
}

/* one line per show ------------------------------------------------------ */

.chk_row
{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.75rem;
	padding: 0.45rem 0;
	border-bottom: 1px solid #eef2f5;
}

.chk_amount
{
	margin-left: auto;
	font-weight: 900;
	color: #222;
	white-space: nowrap;
}

.chk_line
{
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.35rem 1rem;
	padding-top: 0.6rem;
}

.chk_line strong
{
	white-space: nowrap;
}

.chk_subtotal
{
	margin-top: 0.35rem;
	padding-top: 0.6rem;
	border-top: 2px solid #e6ecf1;
	font-size: 1.05rem;
}

.chk_discount
{
	display: inline-block;
	margin-left: 0.4rem;
	padding: 1px 8px;
	border-radius: 10px;
	background: #eaf6ea;
	border: 1px solid #a9d3a9;
	color: #1d5b1d;
	font-size: 0.75rem;
	line-height: 1.2rem;
}

.chk_previous
{
	margin-top: 0.5rem;
	padding: 0.25rem 0.75rem 0.6rem 0.75rem;
	border-left: 3px solid #cfdbe6;
	background: #f8fafb;
}

/* the amount the member is about to pay ---------------------------------- */

.chk_total
{
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	padding: 1rem 1.25rem;
	border: 1px solid #1f6391;
	border-radius: 4px;
	background: #1f6391;
}

.chk_total_label
{
	color: #fff;
	font-size: 1rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.chk_total_value
{
	color: #fff;
	font-size: 1.75rem;
	line-height: 2.25rem;
	font-weight: 900;
	white-space: nowrap;
}

/* payment methods -------------------------------------------------------- */

.chk_methods
{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	align-items: start;
}

.chk_methods_single
{
	grid-template-columns: 1fr;
}

.chk_method
{
	padding: 1.25rem;
	border: 1px solid #cfdbe6;
	border-radius: 4px;
	background: #fff;
}

h2.chk_method_title
{
	font-size: 1.1rem;
	line-height: 1.6rem;
	font-weight: 900;
	margin-bottom: 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #e6ecf1;
}

.chk_method_body
{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.chk_stripe
{
	max-height: 32px;
	width: auto;
}

.chk_note
{
	margin-top: 0.75rem;
	color: #5b6b7a;
	font-size: 0.9rem;
	line-height: 1.35rem;
}

.chk_option
{
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.5rem 0;
}

.chk_option input
{
	width: auto;
	margin: 0;
	flex: none;
}

.chk_option label
{
	font-weight: 900;
	cursor: pointer;
}

.chk_upload
{
	margin: 0 0 0.5rem 1.75rem;
	padding: 0.75rem;
	border: 1px solid #dde5ec;
	border-radius: 4px;
	background: #f8fafb;
}

.chk_upload label
{
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.85rem;
	color: #5b6b7a;
}

.chk_method_actions,
.chk_actions
{
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.5rem;
	margin-top: 1rem;
}

.chk_method_actions input.dash_button,
#entry_check input.dash_button
{
	border-radius: 3px;
	cursor: pointer;
}

/* --------------------------------------------------------------------------------------------------------------------- */
/* PAYMENT HISTORY */
/* --------------------------------------------------------------------------------------------------------------------- */

#payments_history
{
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 0.5rem 0 1rem 0;
}

.pay_head h1
{
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 900;
}

.pay_head p.pay_intro
{
	color: #5b6b7a;
	line-height: 1.4rem;
	max-width: 48rem;
}

.pay_card
{
	border: 1px solid #cfdbe6;
	border-radius: 4px;
	background: #fff;
	padding: 1rem 1.25rem;
}

.pay_card_head
{
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #e6ecf1;
}

.pay_amount
{
	font-size: 1.25rem;
	line-height: 1.75rem;
	font-weight: 900;
	color: #222;
}

.pay_date
{
	color: #66737f;
	font-size: 0.9rem;
	margin-left: auto;
}

/* status badges ---------------------------------------------------------- */

.pay_badge
{
	display: inline-block;
	padding: 2px 12px;
	border-radius: 12px;
	font-size: 0.8rem;
	line-height: 1.3rem;
	font-weight: 900;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	border: 1px solid;
}

.pay_badge_confirmed
{
	color: #1d5b1d;
	border-color: #a9d3a9;
	background: #eaf6ea;
}

.pay_badge_pending
{
	color: #7a5b00;
	border-color: #e0cd7a;
	background: #fdf7e0;
}

.pay_badge_failed
{
	color: #7d2020;
	border-color: #e0a3a3;
	background: #fbeded;
}

.pay_badge_refunded
{
	color: #234a6b;
	border-color: #a6c2d8;
	background: #eaf2f8;
}

.pay_badge_none
{
	color: #5b6b7a;
	border-color: #cfdbe6;
	background: #f1f4f7;
}

/* transaction details ---------------------------------------------------- */

.pay_meta
{
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	padding-top: 0.75rem;
}

.pay_meta_item
{
	font-size: 0.9rem;
	line-height: 1.4rem;
	color: #5b6b7a;
}

.pay_reason
{
	margin-top: 0.5rem;
	padding: 0.5rem 0.75rem;
	border-left: 3px solid #e0a3a3;
	background: #fbeded;
	font-size: 0.9rem;
	line-height: 1.35rem;
	color: #7d2020;
}

.pay_dogs_title
{
	margin-top: 1rem;
	font-size: 0.8rem;
	line-height: 1.2rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #66737f;
}

table.pay_dogs
{
	width: 100%;
	border: 0;
	margin-top: 0.35rem;
	border-collapse: collapse;
}

table.pay_dogs td
{
	border: 0;
	border-top: 1px solid #e6ecf1;
	padding: 0.5rem 0;
	vertical-align: top;
	background: transparent;
}

td.pay_dog_name
{
	width: 40%;
}

.pay_dog_pedigree
{
	display: block;
	font-size: 0.85rem;
	line-height: 1.2rem;
	color: #66737f;
}

td.pay_dog_shows
{
	display: table-cell;
}

.pay_show
{
	display: block;
	font-size: 0.9rem;
	line-height: 1.4rem;
	color: #5b6b7a;
}

.pay_show_class
{
	display: inline-block;
	margin-left: 0.35rem;
	padding: 0 8px;
	border-radius: 10px;
	font-size: 0.8rem;
	line-height: 1.2rem;
	color: #234a6b;
	background: #eaf2f8;
	border: 1px solid #cfe0ed;
}

/* --------------------------------------------------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------------------------------------------------- */
/* CLASS CHANGE (ENTERED DOGS) */
/* --------------------------------------------------------------------------------------------------------------------- */

/* comutatorul de schimbare a clasei. Ordinea copiilor ramane cea asteptata de
   scriptul din pagina: checkbox, label, p.error - iar divul ramane frate cu
   randurile .exhibition_display / .exhibition_edit */
.ent_change
{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.6rem;
	margin-top: 0.9rem;
	padding: 0.6rem 0.75rem;
	border: 1px solid #b9cadb;
	border-left: 3px solid #2492b3;
	border-radius: 4px;
	background: #f1f4f7;
}

.ent_change input
{
	width: auto;
	margin: 0;
	flex: none;
	transform: scale(1.2);
}

.ent_change label
{
	font-weight: 900;
	cursor: pointer;
}

.ent_change p.error
{
	flex-basis: 100%;
	margin: 0.25rem 0 0 0;
}

p.ent_change_hint
{
	flex-basis: 100%;
	color: #5b6b7a;
	font-size: 0.85rem;
	line-height: 1.3rem;
}

#entries_list fieldset#entryform div.exhibition_edit
{
	align-items: center;
	gap: 0.5rem 0.75rem;
	margin-top: 0.5rem;
	padding: 0.75rem;
	border: 1px solid #dde5ec;
	border-radius: 4px;
	background: #f8fafb;
	grid-template-columns: minmax(200px, auto) auto 1fr;
}

#entries_list fieldset#entryform div.exhibition_edit label.longer
{
	font-weight: 900;
	color: #222;
}

#entries_list fieldset#entryform div.exhibition_edit p.info
{
	margin: 0 0 0.25rem 0;
	padding: 4px 8px 4px 26px;
	font-weight: 400;
	font-size: 0.85rem;
	line-height: 1.3rem;
	box-shadow: none;
	background-position: 5px 6px;
}

#entries_list #submit_buttons
{
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #dde5ec;
	justify-content: flex-end;
}

/* vechea clasa, sageata, noua clasa - pe confirmarea schimbarii de clasa */
.chk_change_from
{
	color: #66737f;
	text-decoration: line-through;
	font-size: 0.85rem;
}

.chk_change_arrow
{
	color: #66737f;
}

.chk_amount_alt
{
	font-weight: 400;
	color: #66737f;
}

/* --------------------------------------------------------------------------------------------------------------------- */
/* PAYMENT HISTORY - ACHSUDVEST SPECIFIC */
/* --------------------------------------------------------------------------------------------------------------------- */

.pay_operation
{
	display: inline-block;
	padding: 1px 10px;
	border-radius: 3px;
	background: #f1f4f7;
	border: 1px solid #dde5ec;
	color: #5b6b7a;
	font-size: 0.8rem;
	line-height: 1.3rem;
}

dl.pay_card_details
{
	margin-top: 0.75rem;
	padding: 0.5rem 0.75rem 0.6rem 0.75rem;
	border-left: 3px solid #cfdbe6;
	background: #f8fafb;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
	gap: 0.2rem 1.5rem;
}

dl.pay_card_details .pay_dogs_title
{
	grid-column: 1 / -1;
	margin-top: 0;
}

/* --------------------------------------------------------------------------------------------------------------------- */
/* LEGACY .entry */
/* --------------------------------------------------------------------------------------------------------------------- */

/* cardurile pastreaza clasa "entry" pentru scripturile din pagini, dar regula
   globala div.entry din administration.css le-ar da chenarul gros de sus */
div.entry.dog_card
{
	margin: 0;
	padding: 1rem 1.25rem;
	border: 1px solid #cfdbe6;
	border-left: 4px solid #2492b3;
}

#entries_list div.entry.dog_card
{
	border-left-color: #1f6391;
}

#available_list div.entry.dog_card
{
	border-left-color: #1e8449;
}

#entry_check div.entry.dog_card
{
	border-left-color: #b06a00;
}

div.entry.dog_card p strong
{
	margin-right: 0;
}

/* --------------------------------------------------------------------------------------------------------------------- */
/* MEDIA QUERIES */
/* --------------------------------------------------------------------------------------------------------------------- */

@media screen and (max-width: 900px)
{
	.dash_head
	{
		grid-template-columns: auto 1fr;
	}

	.dash_head_actions
	{
		grid-column: 1 / span 2;
	}

	.dash_button
	{
		min-width: 0;
	}

	.dash_stats
	{
		grid-template-columns: repeat(2, 1fr);
	}

	.page_head_actions,
	.dog_head_actions
	{
		flex-direction: row;
		flex-wrap: wrap;
	}

	.dash_cards
	{
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 520px)
{
	.dash_notice
	{
		grid-template-columns: auto 1fr;
	}

	.dash_notice_action
	{
		grid-column: 1 / -1;
	}

	.dash_head
	{
		grid-template-columns: 1fr;
		text-align: center;
		justify-items: center;
	}

	.dash_head_actions
	{
		grid-column: auto;
		align-self: stretch;
	}

	.dash_meta,
	.dash_card p.dash_card_actions
	{
		justify-content: center;
	}

	.dash_meta_item + .dash_meta_item:not(.flag)
	{
		padding-left: 0;
		border-left: 0;
	}

	.dash_stats
	{
		grid-template-columns: 1fr;
	}

	dl.dog_facts
	{
		grid-template-columns: 1fr;
	}

	.chk_methods
	{
		grid-template-columns: 1fr;
	}

	.page_head_actions,
	.dog_head_actions
	{
		flex-direction: column;
		align-self: stretch;
	}

	table.pay_dogs tr,
	table.pay_dogs td,
	td.pay_dog_name,
	td.pay_dog_shows
	{
		display: block;
		width: auto;
	}

	table.pay_dogs td.pay_dog_shows
	{
		border-top: 0;
		padding-top: 0;
	}

	.pay_date
	{
		margin-left: 0;
	}
}
