@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,400;1,500&display=swap");
/*color variables*/

		:root {
			--primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
			--primary-color: #667eea;
			--secondary-color: #764ba2;
			--dark-text: #2c3e50;
			--light-text: #7f8c8d;
			--border-color: #e0e0e0;
			--input-bg: #f8f9fc;
		}

		* {
			margin: 0;
			padding: 0;
			box-sizing: border-box;
		}

		body {
			font-family: 'Inter', sans-serif;
			background: var(--primary-gradient);
			min-height: 100vh;
			display: flex;
			align-items: center;
			justify-content: center;
			padding: 1rem;
		}

		.login-wrapper {
			width: 100%;
			max-width: 450px;
		}

		.login-card {
			background: white;
			border-radius: 20px;
			padding: 2.5rem;
			box-shadow: 0 20px 40px rgba(0,0,0,0.2);
			animation: slideUp 0.5s ease;
		}

		@keyframes slideUp {
			from {
				transform: translateY(50px);
				opacity: 0;
			}
			to {
				transform: translateY(0);
				opacity: 1;
			}
		}

		.login-header {
			text-align: center;
			margin-bottom: 2rem;
		}

		.login-header .icon-wrapper {
			width: 80px;
			height: 80px;
			background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
			border-radius: 50%;
			display: flex;
			align-items: center;
			justify-content: center;
			margin: 0 auto 1.5rem;
		}

		.login-header .icon-wrapper i {
			font-size: 2.5rem;
			color: var(--primary-color);
		}

		.login-header h1 {
			font-size: 1.75rem;
			font-weight: 600;
			color: var(--dark-text);
			margin-bottom: 0.5rem;
		}

		.login-header p {
			color: var(--light-text);
			font-size: 0.95rem;
		}

		.form-group {
			margin-bottom: 1.5rem;
		}

		.form-group label {
			display: block;
			margin-bottom: 0.5rem;
			font-weight: 500;
			color: var(--dark-text);
			font-size: 0.95rem;
		}

		.input-wrapper {
			position: relative;
		}

		.input-wrapper i {
			position: absolute;
			left: 1rem;
			top: 50%;
			transform: translateY(-50%);
			color: var(--light-text);
			font-size: 1rem;
			z-index: 1;
		}

		.form-control {
			width: 100%;
			padding: 0.875rem 1rem 0.875rem 2.75rem;
			border: 2px solid var(--border-color);
			border-radius: 12px;
			font-size: 0.95rem;
			transition: all 0.3s ease;
			background: var(--input-bg);
		}

		.form-control:focus {
			outline: none;
			border-color: var(--primary-color);
			box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
			background: white;
		}

		.form-control::placeholder {
			color: #bdc3c7;
			font-size: 0.9rem;
		}

		.btn {
			width: 100%;
			padding: 0.875rem;
			border: none;
			border-radius: 12px;
			font-size: 1rem;
			font-weight: 600;
			cursor: pointer;
			transition: all 0.3s ease;
			display: flex;
			align-items: center;
			justify-content: center;
			gap: 0.5rem;
		}

		.btn-primary {
			background: var(--primary-gradient);
			color: white;
			box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
		}

		.btn-primary:hover {
			transform: translateY(-2px);
			box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
		}

		.btn-link {
			background: transparent;
			color: var(--light-text);
			font-weight: 500;
			padding: 0.5rem;
		}

		.btn-link:hover {
			color: var(--primary-color);
			background: rgba(102, 126, 234, 0.05);
		}

		.divider {
			position: relative;
			text-align: center;
			margin: 1.5rem 0;
		}

		.divider::before {
			content: '';
			position: absolute;
			top: 50%;
			left: 0;
			right: 0;
			height: 1px;
			background: var(--border-color);
			z-index: 0;
		}

		.divider span {
			background: white;
			padding: 0 1rem;
			color: var(--light-text);
			font-size: 0.9rem;
			position: relative;
			z-index: 1;
		}

		.footer-links {
			display: flex;
			justify-content: space-between;
			margin-top: 1rem;
		}

		.footer-links button {
			background: transparent;
			border: none;
			color: var(--light-text);
			font-size: 0.9rem;
			cursor: pointer;
			transition: color 0.3s;
			padding: 0.5rem;
		}

		.footer-links button:hover {
			color: var(--primary-color);
		}

		/* Modal Styles */
		.modal-content {
			border-radius: 20px;
			border: none;
			box-shadow: 0 20px 40px rgba(0,0,0,0.2);
		}

		.modal-header {
			background: var(--primary-gradient);
			color: white;
			border-radius: 20px 20px 0 0;
			padding: 1.5rem;
			border: none;
		}

		.modal-header h4 {
			font-weight: 600;
			margin: 0;
		}

		.modal-header .btn-close {
			color: white;
			background: none;
			opacity: 0.8;
			font-size: 1.2rem;
		}

		.modal-body {
			padding: 2rem;
		}

		.modal-footer {
			padding: 1.5rem;
			border-top: 1px solid var(--border-color);
			background: #f8f9fc;
			border-radius: 0 0 20px 20px;
		}

		.modal-footer .btn {
			width: auto;
			min-width: 100px;
		}

		.modal-footer .btn-secondary {
			background: #95a5a6;
			color: white;
		}

		.modal-footer .btn-secondary:hover {
			background: #7f8c8d;
		}

		/* Alert styles */
		.alert {
			padding: 1rem;
			border-radius: 12px;
			margin-bottom: 1.5rem;
			display: flex;
			align-items: center;
			gap: 0.75rem;
			font-size: 0.95rem;
		}

		.alert-success {
			background: #d4edda;
			color: #155724;
			border: 1px solid #c3e6cb;
		}

		.alert-danger {
			background: #f8d7da;
			color: #721c24;
			border: 1px solid #f5c6cb;
		}

		.alert-warning {
			background: #fff3cd;
			color: #856404;
			border: 1px solid #ffeeba;
		}

		.hidden {
			display: none !important;
		}

    /* Modal stacking fix */
    .modal {
        z-index: 1050;
    }

    .modal-backdrop {
        z-index: 1040;
    }

    /* Warning modal on top */
    #WarningModal.modal.show {
        z-index: 1060;
    }

    #WarningModal.modal.show ~ .modal-backdrop {
        z-index: 1055;
    }

    /* Optional: Add animation for smoother transitions */
    .modal.fade .modal-dialog {
        transition: transform 0.2s ease-out;
    }