.email {
	
}

.fullname {
	
}

/* Make summary cards responsive */
.small-card {
	min-width: 80px;
}

/* Apply to all text-based inputs, selects, and textareas */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
select,
textarea {
    background-color: #FFF9E5;   /* Off-white background */
    border: 1px solid #CCCCCC;   /* Light gray border */
    color: #333333;              /* Dark gray text */
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 1rem;
    outline: none;               /* Remove default outline */
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-select{
	background-color: #FFF9E5;   /* Off-white background */
}

/* Highlight on focus */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
    border-color: #B97A57;       /* Darker border on focus */
    box-shadow: 0 0 4px rgba(255, 112, 67, 0.5); /* subtle glow */
}

input[type="radio"]:checked,
input[type="checkbox"]:checked {
    background-color: #ffe5b4;
    border-color: #B97A57;
}

/* Apply to all table cells */
.table>:not(caption)>*>* {
  background-color: #fff8dc; /* body background */
  color: #000000;           /* text */
}

/* Apply only to table headers */
.table thead th {
  background-color: #b97a57; /* your button color, warm brown-orange */
  color: #ffffff;           /* white text for contrast */
}

.error-container {
	background-color: #ffffff;
	padding: 2rem 3rem;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	text-align: center;
}

.error-code {
	font-size: 4rem;
	font-weight: bold;
	color: #dc3545; /* red */
}

.error-message {
	font-size: 1.2rem;
	margin-bottom: 1.5rem;
}

.btn-home {
	text-decoration: none;
}

/* Read-only email label */
.readonly-label {
	background-color: #e9ecef;
	padding: 6px 12px;
	border-radius: 4px;
	color: #333;
	font-weight: 500;
}

/* Compact info/success message */
.alert-success {
	background-color: #e6f4f1;
	color: #0f5132;
	border-color: #bcd9d4;
	padding: 4px 8px;
	font-size: 0.9rem;
	margin-bottom: 6px;
}

/* Highlight text */
.hc-highlight {
	display: inline-block;
	position: relative;
	background: var(--hl-color);
	padding: var(--hl-padding);
	line-height: calc(var(--hl-radius)*2- 4px);
	border-radius: 4px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04) inset;
	font-weight: 600;
	color: #222;
	min-height: calc(var(--hl-radius)*2);
	align-items: center;
}

.hc-left {
	padding-left: calc(var(--hl-padding)+var(--hl-radius));
}

.hc-left::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translate(-50%, -50%);
	width: calc(var(--hl-radius)*2);
	height: calc(var(--hl-radius)*2);
	background: var(--hl-accent);
	border-radius: 50%;
	z-index: 0;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.hc-left>* {
	position: relative;
	z-index: 1;
}

.hc-right {
	padding-right: calc(var(--hl-padding)+var(--hl-radius));
}

.hc-right::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translate(50%, -50%);
	width: calc(var(--hl-radius)*2);
	height: calc(var(--hl-radius)*2);
	background: var(--hl-accent);
	border-radius: 50%;
	z-index: 0;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.hc-right>* {
	position: relative;
	z-index: 1;
}

.hc-block {
	display: block;
	width: 100%;
	box-sizing: border-box;
}


.card, .card-body{
	background-color: #ffe5b4;
}

/* Background logo */
body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('/eventSphere/images/Logo.png') no-repeat center center
		fixed;
	z-index: -1;
	pointer-events: none;
	background-size: 150px auto; /* limit width */
	opacity: 0.1;
}

html, body {
	height: 99%;
	margin: 10px;
	background-color: #fff8dc;
	font-family: 'Poppins', sans-serif;
	margin: 0;
	flex-direction: column;
	min-height: 100vh;
}

main {
	flex: 1; /* Take all available space */
	padding-bottom: 1rem; /* optional spacing from footer */
}

.footer {
	text-align: center;
	padding: 0.5rem 0;
	box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
}

.login-container {
	flex: 1 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 2rem 1rem; /* spacing around card */
}

.content {
	flex: 1 0 auto;
	overflow-y: auto;
	margin-left: 110px;
	padding: 1rem;
}

.required-asterisk {
	color: red;
	margin-left: 4px;
	font-weight: bold;
}

.red-line {
	border: none;
	height: 4px;
	background-color: rgb(255, 128, 64);
	margin: 5px 0;
}

.dashboard-widget {
	border-radius: 20px;
	padding: 1.5rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	transition: all 0.2s ease-in-out;
}

.dashboard-widget:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.icon-box {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.btn-primary {
	background-color: #B97A57;
	color: #FFFFFF;
	box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  background-color: #9E6244; /* darker shade on hover */
}

.btn-secondary {
	background-color: #757575;
}

.text-primary {	
	color :#FF7F27;
}

.readonly-label {
    background-color: #FFFBF0;
}

.custom-tab.active-tab {
	background-color: #B97A57;
	color: white;
	font-weight: 600;
	z-index: 3;
}

.custom-tab-wrapper {
	position: relative;
	border-bottom: 4px solid #B97A57;
	padding-top: 0;
	margin-top: 2px;
	width: 100%;
}

.custom-tab-container {
	display: flex;
	position: relative;
	top: 0;
	width: auto;
	z-index: 2;
	flex-wrap: wrap;
}

.custom-tab {
	padding: 10px 15px;
	background-color: #757575;
	color: white;
	font-weight: 500;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	margin-right: 2px;
	cursor: pointer;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	transition: background-color 0.3s;
	min-width: 120px;
	max-width: 300px;
	text-align: center;
	flex: auto;
}

.carousel-control-prev, .carousel-control-next {
	width: auto; /* shrink clickable area */
	background: none; /* remove default overlay */
	opacity: 1; /* make them always visible */
	top: 50%; /* vertically centered */
	transform: translateY(-50%);
}

.carousel-control-prev {
	left: -50px; /* move outside left */
}

.carousel-control-next {
	right: -50px; /* move outside right */
}

.carousel-control-prev-icon, .carousel-control-next-icon {
	background-color: rgba(0, 0, 0, 0.5); /* optional background */
	border-radius: 50%;
	padding: 10px; /* make it easier to click */
}

/* Table styling to match card design */
.table-custom {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background-color: #fff8dc; /* matches card bg */
	border-radius: 0.5rem;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Header */
.table-custom thead th {
	background-color: #ffe5b4; /* soft primary tone */	
	font-weight: 600;
	text-align: center;
	border-bottom: 2px solid #dee2e6;
	padding: 0.75rem;
}

/* Rows */
.table-custom tbody td {
	vertical-align: middle;
	text-align: center;
	padding: 0.65rem;
	border-bottom: 1px solid #dee2e6;
}

/* Hover effect for rows */
.table-custom tbody tr:hover {
	background-color: #fff8dc;
	transition: background-color 0.3s ease;
}

/* Checkbox alignment */
.table-custom tbody input[type="checkbox"] {
	transform: scale(1.2);
	margin: 0 auto;
}

.curved-label {
	display: inline-block;
	background-color: #c6eb1f; /* greenish background */
	color: #000;
	padding: 8px 16px 8px 32px;
	/* left padding so text doesn't overlap curve */
	position: relative;
}

.curved-label::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 32px; /* curve width */
	height: 100%;
	background-color: white; /* match page background */
	border-top-left-radius: 50% 100%;
	border-bottom-left-radius: 50% 100%;
}

.ribbon {
	height: 188px;
	position: relative;
	margin-bottom: 30px;
	background-size: cover;
	text-transform: uppercase;
	color: white;
}

.wrap {
	width: 100%;
	height: 188px;
	position: absolute;
	top: -8px;
	left: 8px;
	overflow: hidden;
}

.wrap:before, .wrap:after {
	content: "";
	position: absolute;
}

.wrap:before {
	width: 40px;
	height: 8px;
	right: 100px;
	background: #4d6530;
	border-radius: 8px 8px 0px 0px;
}

.wrap:after {
	width: 8px;
	height: 40px;
	right: 0px;
	top: 100px;
	background: #4d6530;
	border-radius: 0px 8px 8px 0px;
}

.ribbon {
  --f: .5em; /* control the folded part */
  
  position: absolute;
  top: 0;
  left: 0;
  line-height: 1.8;
  padding-inline: 1lh;
  padding-bottom: var(--f);
  border-image: conic-gradient(#0008 0 0) 51%/var(--f);
  clip-path: polygon(
    100% calc(100% - var(--f)),100% 100%,calc(100% - var(--f)) calc(100% - var(--f)),var(--f) calc(100% - var(--f)), 0 100%,0 calc(100% - var(--f)),999px calc(100% - var(--f) - 999px),calc(100% - 999px) calc(100% - var(--f) - 999px));
  transform: translate(calc((cos(45deg) - 1)*100%), -100%) rotate(-45deg);
  transform-origin: 100% 100%;
  background-color: #F07818; /* the main color  */
}

.ribbonVerticle {
	width: 60px;
	padding: 10px 0;
	position: absolute;
	top: -50px;
	left: -65px;
	text-align: center;
	border-top-left-radius: 3px;
	background: #f47530;
}

.ribbonVerticle:before {
	height: 0;
	width: 0;
	right: -5.5px;
	top: 0.1px;
	border-bottom: 6px solid #8d5a20;
	border-right: 6px solid transparent;
}

.ribbonVerticle:before, .ribbonVerticle:after {
	content: "";
	position: absolute;
}

.ribbonVerticle:after {
	height: 0;
	width: 0;
	bottom: -29.5px;
	left: 0;
	border-left: 30px solid #f47530;
	border-right: 30px solid #f47530;
	border-bottom: 30px solid transparent;
}

.regTicket {
	mask: radial-gradient(40px at 40px 40px, #57dd43 98%, #000) -40px -40px;
	background: #57dd43;
}

.activeBox {
	padding: 10px;
	mask: radial-gradient(40px at 0 40px, #57dd43 98%, #000) 0 -40px;
	background: #57dd43;
	border-radius: 12px; /* optional: also round the edges */
}

.pastBox {
	padding: 10px;
	mask: radial-gradient(40px at 0 40px, #b0b0b0 98%, #000) 0 -40px;
	background: #b0b0b0;
	border-radius: 12px; /* optional: also round the edges */
}

/* Reset */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* Sidebar */
.sidebar {
	width: 250px;
	height: 100%;
	background-color: #222;
	color: white;
	position: fixed;
	top: 0;
	left: 0;
	padding: 30px 20px;
	overflow-y: auto;
	transition: transform 0.4s ease;
	z-index: 1002;
}

.sidebar h2 {
	margin-bottom: 25px;
}

.sidebar ul {
	list-style: none;
}

.sidebar ul li {
	margin-bottom: 18px;
}

.sidebar ul li a {
	color: white;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.sidebar ul li a:hover {
	color: #1abc9c;
}

/* Hamburger button */
.menu-btn {
	display: none;
	position: fixed;
	top: 20px;
	left: 20px;
	width: 30px;
	height: 25px;
	border: none;
	background: none;
	cursor: pointer;
	z-index: 1003;
	flex-direction: column;
	justify-content: space-between;
}

.menu-btn span {
	display: block;
	height: 3px;
	background: #333;
	border-radius: 2px;
	transition: all 0.3s ease;
}

/* Limit column overflow and make fonts smaller on mobile */
.table td, .table th {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 150px;
}

.bannerImage {
	width: 100%;
	height: 250px;
}

/* Default for desktop */
input, select {
	width: 40%;
	box-sizing: border-box; /* Includes padding & border in width */
}

.ribbonHighlight {
  --r: .8em; /* control the ribbon shape */  
  padding-inline: calc(var(--r) + .3em);
  line-height: 1.8;
  clip-path: polygon(0 0,100% 0,calc(100% - var(--r)) 50%,100% 100%,0 100%, var(--r) 50%);
  background: #CC333F; /* the main color */
  color: #fff;
  width: fit-content;
}

.ribbonLeft {
  --f: .5em; /* control the folded part */
  
  position: absolute;
  top: 0;
  left: 0;
  line-height: 2;
  padding-inline: 1lh;
  padding-bottom: var(--f);
  border: 1px dashed;
  border-image: conic-gradient(#0008 0 0) 51%/var(--f);
  clip-path: polygon(
    100% calc(100% - var(--f)),100% 100%,calc(100% - var(--f)) calc(100% - var(--f)),var(--f) calc(100% - var(--f)), 0 100%,0 calc(100% - var(--f)),999px calc(100% - var(--f) - 999px),calc(100% - 999px) calc(100% - var(--f) - 999px));
  transform: translate(calc((cos(45deg) - 1)*100%), -100%) rotate(-45deg);
  transform-origin: 100% 100%;
  background-color: #b0b0b0; /* the main color  */
}

.ribbonRight {
  --f: .5em; /* control the folded part */
  
  position: absolute;
  top: 0;
  right: 0;
  line-height: 2;
  padding-inline: 1lh;
  padding-bottom: var(--f);
  border-image: conic-gradient(#0008 0 0) 51%/var(--f);
  clip-path: polygon(
    100% calc(100% - var(--f)),100% 100%,calc(100% - var(--f)) calc(100% - var(--f)),var(--f) calc(100% - var(--f)), 0 100%,0 calc(100% - var(--f)),999px calc(100% - var(--f) - 999px),calc(100% - 999px) calc(100% - var(--f) - 999px));
  transform: translate(calc((1 - cos(45deg))*100%), -100%) rotate(45deg);
  transform-origin: 0% 100%;
  background-color: #57dd43; /* the main color  */
}

/* Responsive tweaks */
@media ( max-width : 768px) {
	.table-custom thead th, .table-custom tbody td {
		font-size: 0.85rem;
		padding: 0.5rem;
	}
	.sidebar {
		transform: translateX(-100%);
	}
	.sidebar.active {
		transform: translateX(0);
	}
	.menu-btn {
		display: flex;
	}
	.menu-btn.active span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}
	.menu-btn.active span:nth-child(2) {
		opacity: 0;
	}
	.menu-btn.active span:nth-child(3) {
		transform: rotate(-45deg) translate(5px, -5px);
	}
	.content {
		margin-left: 0;
		transition: margin-left 0.4s ease;
	}
	.content.push {
		margin-left: 80%;
	}
	.custom-tab {
		display: none;
	}
	.active-tab {
		display: block;
	}
	.custom-tab-wrapper {
		width: 55%;
	}
	.bannerImage {
		width: 30%;
		height: 120px;
	}
	input, select {
		width: 30%;
	}
}

@media ( max-width : 576px) {
	.ribbonRight {
		font-size: 0.8rem;
	}
}

.collapse.show {
	display: block !important;
}

table{
	background-color: #fff8dc;
}

.table {
    background-color: #f8f9fa !important;
}
