:root {
	--idbi-green: #00836c;
	--idbi-orange: #f37021;
	--idbi-dark: #2c3e50;
	--border: #d1d9e0;
	--idbi-light-bg: #eff3f6;
}

body {
	background: var(--idbi-light-bg);
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	margin: 0;
	/*background-image: url("/empanelment-app/resources/assets/img/bg.png");*/
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 100vh;
	color: white;
	display: flex;
	align-items: center;
	justify-content: start;
}

.main-wrapper {
	max-width: 650px;
	min-width: 400px;
	margin-left: 10vw;

	/* Glass effect */
	background: rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);

	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	border-top: 6px solid var(--idbi-green);
	overflow: hidden;

	/* Optional border for better glass look */
	border: 3px solid rgba(255, 255, 255, 0.8);
}


.form-body {
	padding: 40px;
}

.grid-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 25px;
}

.full-width {
	grid-column: span 2;
}

.form-group {
	margin-bottom: 5px;
	width: 100%;
}

label {
	font-weight: 600;
	font-size: 13px;
	margin-bottom: 8px;
	display: block;
	color: var(--idbi-light-bg);
}

label::after {
	content: " *";
	color: #d9534f;
}

.idbi-input {
	width: 100%;
	padding: 12px;

	/* Semi-transparent glass */
	background: rgba(255, 255, 255, 0);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);

	border: 1.5px solid rgba(255, 255, 255, 0.6);
	border-radius: 6px;
	box-sizing: border-box;

	color: var(--idbi-light-bg);
	font-weight: 600;
	transition: all 0.3s ease;
	outline: none;
}


.idbi-input:focus {
	/*border-color: var(--idbi-orange);*/
	border-color: var(--idbi-orange);
	box-shadow: 0 0 0 0px rgb(255, 225, 190);
}
.idbi-input::placeholder{
	color: rgb(242, 242, 242);
}

/* Radio Button Styling */
.radio-group {
	display: flex;
	gap: 20px;
	margin-top: 10px;
}

.radio-tile {
	flex: 1;
	display: flex;
	align-items: center;
	padding: 15px;
	border: 1.5px solid var(--border);
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.radio-tile:hover {
	background-color: var(--idbi-dark);
	border-color: var(--idbi-orange);
}

.radio-tile input[type="radio"] {
	margin-right: 12px;
	accent-color: var(--idbi-orange);
	transform: scale(1.2);
}

/* Buttons */
.action-area {
	margin-top: 30px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 20px;
}

.idbi-btn {
	background: var(--idbi-orange);
	color: white;
	padding: 14px 45px;
	border: none;
	border-radius: 6px;
	font-weight: 700;
	cursor: pointer;
	font-size: 16px;
	transition: background 0.3s ease;
}

.idbi-btn:hover {
	background: var(--idbi-orange);
}

/* Modal Styling */
.modal-overlay {
	display: none;
	/* Controlled by signup.js */
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	justify-content: center;
	align-items: center;
	z-index: 9999;
	backdrop-filter: blur(4px);
	/* Modern touch */
}

.success-card {
	background: white;
	width: 100%;
	max-width: 420px;
	padding: 40px;
	border-radius: 16px;
	text-align: center;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.success-card h2 {
	color: var(--idbi-dark);
	margin-top: 0;
}

.id-display {
	font-weight: bold;
	font-size: 22px;
	color: #007c41;
	background: #f4fcf8;
	padding: 10px;
	border: 1px dashed #007c41;
	margin: 15px 0;
	word-break: break-all;
	user-select: all;
	-webkit-user-select: all;
	display: block;
	min-width: 200px;
}



/* ===== Modal denied styles (replaces inline CSS from JSP) ===== */

.denied-card{
    border-top: 6px solid var(--idbi-orange);
}

.denied-title{
    color: var(--idbi-orange);
}

.denied-text{
    color: var(--idbi-orange);
}

.denied-btn{
    background: var(--idbi-orange);
    width: 100%;
}

/* ===== Success styles (replaces inline CSS from JSP) ===== */

.success-title{
    color: var(--idbi-green);
}

.success-subtitle{
    color: darkgray;
}

/* used for the ID display inside modal */
.id-display{
    font-weight: bold;
    font-size: 20px;
    color: #007c41;
}

/* button full width */
.btn-full{
    width: 100%;
}

/* ===== Header section styles (replaces inline header styles) ===== */

.page-header{
    padding: 20px 0 0 0;
    text-align: center;
}

.logo-wrap{
    height: 7vh;
    width: 100%;
}

.idbi-logo{
    height: 7vh;
}

/* ===== Global error placeholder ===== */
.global-error{
    text-align: center;
    margin-top: 10px;
}

/* ===== Footer login link section ===== */
.login-link-wrap{
    text-align: center;
    margin-top: 20px;
}

.login-link{
    color: var(--idbi-green);
    text-decoration: none;
    font-weight: bold;
}


.error-text{
	color: red;
	font-size: small;
}
.radio-group{
	width: 100%;
}
#signupForm{
	min-width: 30vw;
}
#backgroundImg{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.modal-overlay{
	display: none;
}
#firmBlock{
	display: none;	
}
#einBlock{
	display: none;	
}
