/* CSS Document */

#drccrmPortal {
  width: 100%;
  display: flex;
  justify-content: center;
}

#drccrmPortal .drcPortalBtn {
  background: var(--color__button);
  border-radius: 0;
  color: white !important;
  font-size: .8215rem;
  line-height: 1.25rem;
  text-align: center;
  text-transform: uppercase;
  padding: 5px 40px;
  cursor: pointer;
  font-weight: 600;
  font-family: jaf-facitweb, sans-serif;  
}

#drccrmPortal .drcPortalBtn:hover {
  opacity: 0.8;
  color: white !important;
}


.altai-modal mat-card-header {
	background: transparent !important;
}

.cdk-overlay-container,
.cdk-overlay-pane {
  	z-index: 1100 !important;
}


/* Root modal container */
.altai-modal {
	position: fixed;
	inset: 0;
	z-index: 2000;

	display: flex;
	align-items: center;
	justify-content: center;

	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	z-index: 1010 !important;
}

/* Active state */
.altai-modal.is-active {
	opacity: 1;
	pointer-events: auto;
}

/* Background overlay */
.altai-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

/* Modal box */
.altai-modal__dialog {
	position: relative;

  	width: min(1200px, calc(100vw - 40px));
  	height: calc(100vh - 40px);

	background: #fff;
	border-radius: 10px;
	overflow: hidden;

	display: flex;
	flex-direction: column;

	z-index: 1;
}

/* Content area (Angular mounts here) */
.altai-modal__content {
	flex: 1;
	overflow: auto;
  	padding: 20px;	
	margin-top: 36px;
}

/* Close button */

.altai-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;

  width: 36px;
  height: 36px;

  border-radius: 50%;
  border: none;

  background: rgba(0,0,0,0.05);
  cursor: pointer;

  font-size: 20px;
  font-weight: bold;
  text-align:center;
  padding-bottom: 4px;
}

.altai-modal__close:hover {
  background: rgba(0,0,0,0.15);
}

body.altai-modal-open {
	overflow: hidden;
}

/*******************************
* Styling the Altai Angular 
*
*
********************************/
#altai-msg-error {

	position: fixed;
	margin-top: -50px;
	margin-left: 20px;
	z-index: 1010;

}


.altai-existing-registration {
	display: flex;
}
.altai-existing-registration > div:nth-child(2)::before{
	content: "- "
}

.existingRegistrations:disabled {
	opacity: .6;
}
/***************************
*	
*	Loading Overlay
*
********************/


#drc-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drc-loading-inner {
  text-align: center;
  font-weight: 600;
}

.drc-spinner {
  width: 32px;
  height: 32px;
  border: 4px solid #ccc;
  border-top-color: #000;
  border-radius: 50%;
  animation: drc-spin 1s linear infinite;
  margin: 0 auto 10px;
}

@keyframes drc-spin {
  to { transform: rotate(360deg); }
}

/***************************
*	
*	drc-messages
*
********************/


/* Base message container */
.drc-message {
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    font-size: 14px;
    line-height: 1.5;
}

/* Title inside message (optional) */
.drc-message__title {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 15px;
}

/* Body text */
.drc-message__body {
    margin: 0;
}

/* =========================
   MESSAGE TYPES
   ========================= */

/* Error (hard stop) */
.drc-message--error {
    background-color: #fdecea;
    border-color: #f5c6cb;
    color: #842029;
}

/* Warning (attention needed, but not fatal) */
.drc-message--warning {
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #664d03;
}

/* Info (neutral guidance / try again) */
.drc-message--info {
    background-color: #e7f3ff;
    border-color: #b6d4fe;
    color: #084298;
}

/* Success (completed or OK state) */
.drc-message--success {
    background-color: #e6ffed;
    border-color: #badbcc;
    color: #0f5132;
}
