
#activityPreloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;

	background: rgba(255, 255, 255, 0.95);

	z-index: 99999;

	/* HIDDEN INITIALLY */
	opacity: 0;
	visibility: hidden;
	pointer-events: none;

	transition: opacity 300ms ease, visibility 300ms ease;
}


/* SHOW PRELOADER */
#activityPreloader.show {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}


/* SPINNER */
.preloader-spinner {
	width: 45px;
	height: 45px;

	border: 4px solid #e6e6e6;
	border-top: 4px solid #333;

	border-radius: 50%;

	animation: preloaderSpin 800ms linear infinite;
}


/* TEXT */
.preloader-text {
	margin-top: 15px;

	font-family: Arial, sans-serif;
	font-size: 16px;
	color: #333;
}


@keyframes preloaderSpin {

	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}

}
.slide1,
.slide2,
.slide3,
.slide4 {
	position: relative;
	width: 100%;
	height: 100%;

	background-size: 100% 100%;
	background-position: center;
	background-repeat: no-repeat;
}

.slide1 {
	background-image: url("../../assets/img/bg/01.png");
}

.slide2 {
	background-image: url("../../assets/img/bg/02.png");
}

.slide3 {
	/*background-image: url("../../assets/img/bg/01.png");*/
	background:#ffffff;
}

.slide4 {
	/*background-image: url("../../assets/img/bg/05.png");*/
	background:#ffffff;
}
.login-container {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: min(80%, 600px);

    display: flex;
    justify-content: center;
}


.login-form {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: clamp(18px, 2.5vw, 30px);
}


.login-input {
    width: 100%;

    height: clamp(55px, 6vw, 75px);

    box-sizing: border-box;

    padding: 0 clamp(18px, 2.5vw, 28px);

    border: 2px solid #e2e2e2;
    border-radius: clamp(12px, 1.2vw, 18px);

    background: #ffffff;

    font-family: Arial, sans-serif;
    font-size: clamp(20px, 2.2vw, 30px);

    color: #333;

    outline: none;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);

    transition: border-color 200ms ease,
                box-shadow 200ms ease;
}


.login-input::placeholder {
    color: #777;
    opacity: 1;
}


.login-input:focus {
    border-color: #d500b8;

    box-shadow:
        0 0 0 3px rgba(213, 0, 184, 0.08);
}


.login-btn {
    width: 100%;

    height: clamp(58px, 6.5vw, 78px);

    margin-top: clamp(8px, 1vw, 15px);

    border: none;
    border-radius: clamp(12px, 1.2vw, 18px);

    background: #df0220;

    color: #ffffff;

    font-family: Arial, sans-serif;
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: bold;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(208, 0, 189, 0.25);

    transition: transform 150ms ease,
                box-shadow 150ms ease;
}


.login-btn:active {
    transform: scale(0.98);

    box-shadow:
        0 4px 10px rgba(208, 0, 189, 0.2);
}


.logout-btn {
    width: 55%;

    height: clamp(58px, 6.5vw, 78px);

    margin-top: clamp(8px, 1vw, 15px);

    border: none;
    border-radius: clamp(12px, 1.2vw, 18px);

    background: #717171;

    color: #ffffff;

    font-family: Arial, sans-serif;
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: bold;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(208, 0, 189, 0.25);

    transition: transform 150ms ease,
                box-shadow 150ms ease;
}


.logout-btn:active {
    transform: scale(0.98);

    box-shadow:
        0 4px 10px rgba(208, 0, 189, 0.2);
}

.prescription-buttons {
    position: absolute;

    left: 50%;
    bottom: 7%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    gap: clamp(12px, 2vw, 25px);

    width: max-content;
}


/* CONFIRM */

.prescription-btn {
    width: clamp(150px, 18vw, 250px);
    height: clamp(55px, 6vw, 75px);

    border: none;
    border-radius: clamp(12px, 1.2vw, 18px);

    background: #df0220;

    color: #ffffff;

    font-family: Arial, sans-serif;
    font-size: clamp(20px, 2.2vw, 30px);
    font-weight: bold;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(208, 0, 189, 0.25);

    transition: transform 150ms ease,
                box-shadow 150ms ease;
}


/* RESET */

.prescription-reset-btn {
    width: clamp(150px, 18vw, 250px);
    height: clamp(55px, 6vw, 75px);

    border: none;
    border-radius: clamp(12px, 1.2vw, 18px);

    background: #555555;

    color: #ffffff;

    font-family: Arial, sans-serif;
    font-size: clamp(20px, 2.2vw, 30px);
    font-weight: bold;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.18);

    transition: transform 150ms ease,
                box-shadow 150ms ease;
}


/* CLICK EFFECT */

.prescription-btn:active,
.prescription-reset-btn:active {
    transform: scale(0.98);
}
/* ================================
   DOCTOR INFORMATION FORM
   ================================ */

.doctor-form {
    gap: clamp(18px, 2.5vw, 15px);
}


/* FORM HEADING */

.form-heading {
    width: 100%;

    text-align: center;

    font-family: Arial, sans-serif;
    font-size: clamp(24px, 2.8vw, 36px);
    font-weight: bold;

    color: #333333;

    margin-bottom: clamp(5px, 1vw, 12px);
}


/* BUTTON CONTAINER */

.doctor-buttons {
    width: 100%;

    display: flex;
    gap: clamp(12px, 2vw, 24px);

    margin-top: clamp(5px, 1vw, 12px);
}


/* BOTH BUTTONS */
.fullscreen-btn {
    position: fixed;
    top: 2%;
    right: 2%;
    width: clamp(35px, 4vw, 55px);
    height: clamp(35px, 4vw, 55px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555555;
    cursor: pointer;
    z-index: 999999999;
    opacity: 0.75;
    user-select: none;
    -webkit-user-select: none;
    transition: opacity 200ms ease,
                transform 150ms ease;
}

.fullscreen-btn:hover {
    opacity: 1;
}

.fullscreen-btn:active {
    transform: scale(0.9);
}

.fullscreen-btn svg {
    position: absolute;

    width: 100%;
    height: 100%;
}

.fullscreen-exit {
    display: none;
}

.file-upload-wrapper {
    width: 100%;
    max-width: 320px;
    font-family: Arial, sans-serif;
}

.file-upload-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #111;
}

.file-upload-title span {
    color: #e51c3e;
}

.file-upload-box {
    position: relative;
    width: 200%;
    height: 72px;
    border: 1.5px dashed #e51c3e;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    cursor: pointer;
    box-sizing: border-box;
    overflow: hidden;
}

/* Cloud upload icon */
.upload-icon {
    width: 65px;
    text-align: center;
    margin-left: 12px;
}

.upload-icon i {
    font-size: 32px;
    color: #ff4d68;
}

.file-info {
    flex: 1;
    text-align: left;
    line-height: 1.2;
}

.choose-file {
    font-size: 13px;
    color: #333;
    margin-bottom: 3px;
}

.file-name {
    font-size: 12px;
    color: #999;
}

/* Image icon on right */
.image-icon {
    width: 65px;
    text-align: right;
    margin-right: 12px;
}

.image-icon i {
    font-size: 27px;
    color: #ffb5c0;
}

/* Hide actual file control */
.file-upload-box input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.custom-alert-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);

    display: none;
    align-items: center;
    justify-content: center;

    z-index: 99999999999;
}

.custom-alert-box {
    width: 38%;
    max-width: 520px;
    min-width: 320px;

    background: #ffffff;
    border-radius: 20px;

    padding: 30px 35px 28px;

    text-align: center;

    box-shadow: 0 15px 50px rgba(0,0,0,0.25);

    font-family: Arial, sans-serif;
}

.custom-alert-icon {
    width: 55px;
    height: 55px;

    margin: 0 auto 15px;

    border-radius: 50%;

    background: #e53955;
    color: #ffffff;

    font-size: 34px;
    font-weight: bold;

    line-height: 55px;
}

.custom-alert-title {
    font-size: 25px;
    font-weight: 600;
    color: #222222;

    margin-bottom: 10px;
}

.custom-alert-message {
    font-size: 18px;
    line-height: 1.5;
    color: #666666;

    margin-bottom: 25px;
}

.custom-alert-btn {
    width: 140px;
    height: 48px;

    border: none;
    border-radius: 24px;

    background: #e53955;
    color: #ffffff;

    font-size: 17px;
    font-weight: 600;

    cursor: pointer;
}

.custom-alert-btn:active {
    transform: scale(0.97);
}

/* Handles screen positioning ONLY */

.template-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


/* IMPORTANT:
   No left:50%
   No top:50%
   No transform
   on #template
*/

#template {
    position: relative;
    height: 100%;
    width: auto;
    aspect-ratio: 1448 / 2048;
    overflow: hidden;
    flex-shrink: 0;
}


/* Background template */

#template .temp {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
}


/* Doctor image */

#template #temppic {
    position: absolute;
    left: 50%;
    top: 7%;
    width: 45%;
    height: auto;
	border-radius:50%;
	border:1px solid #ed1e24;
    transform: translateX(-50%);
}


/* Doctor name */

#template #lbldocname {
    position: absolute;
    left: 47%;
    top: 43%;
    width: 70%;
    transform: translateX(-50%);
    text-align: center;
	font-size:1.5em;
    white-space: nowrap;
}