*{ margin: 0; padding: 0; box-sizing: border-box; }
a:hover{ text-decoration: none; }
.tool-top-link-wapper{
	padding: 16px 0;
	border-bottom: 2px solid #000000;
}
.tool-top-link-wapper ul{
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	list-style: none;
}
.tool-top-link-wapper ul li a{
	font-family: 'Inter';
	font-style: normal;
	font-weight: 500;
	font-size: 16px;
	line-height: 19px;
	color: #262626;
}
.tool-top-link-wapper ul li img{
	width: 12px;
	height: 12px;
}
.tool-top-link-wapper ul li span{
	font-family: 'Inter';
	font-style: normal;
	font-weight: 500;
	font-size: 16px;
	line-height: 19px;
	color: #626262;
}
.free-nsfw-images-section{
	padding: 48px 0 133px 0;
}
.ai-images-title p.main-heading{
	font-family: 'Inter';
	font-style: normal;
	font-weight: 700;
	font-size: 40px;
	line-height: 48px;
	color: #262626;
	margin: 0;
	padding-bottom: 20px;
	text-align: center;
}
.ai-images-main-wapper{
	max-width: 958px;
	margin: 0 auto;
	background: #FFFFFF;
	box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.1);
	border-radius: 32px;
	padding: 48px 30px;
	margin-bottom: 56px;
}
.ai-alert-wapper{
	margin-bottom: 88px;
	width: 100%;
	display: flex;
	align-items: center;
	gap: 56px;
	background: rgba(201, 193, 246, 0.1);
	border: 1px solid #C9C1F6;
	border-radius: 32px;
	padding: 32px 64px 32px 56px;
}
.ai-alert-wapper .ai-alert-img{
	width: 56px;
	height: 56px;
	min-width: 56px;
}
.ai-alert-wapper .ai-alert-img img{
	width: 100%;
	height: 100%;
}
.ai-alert-wapper .ai-alert-text{
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.ai-alert-wapper .ai-alert-text p{
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	color: #262626;
	margin: 0; 
	padding: 0;
}
.ai-content-wapper h1 {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 700;
	font-size: 40px;
	line-height: 48px;
	color: #262626;
	margin: 0;
	padding-bottom: 24px;
}
 
.ai-content-wapper h2 {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 700;
	font-size: 30px;
	line-height: 36px;
	color: #262626;
	margin: 0;
	padding-bottom: 24px;
}
.ai-content-wapper h3 {
	font-family: Inter;
	font-weight: 600;
	font-size: 24px;
	line-height: 100%;
	color: #262626;
	margin: 0;
	padding-bottom: 20px;
}

.ai-content-wapper p{
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #262626;
	margin: 0;
	padding-bottom: 16px;
}

.ai-content-wapper h4 {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    color: #262626;
    margin: 0;
    padding: 0 0 18px 0;
}

.ai-content-wapper ul { margin: 0; padding: 0; display:flex; flex-direction:column; gap: 8px;list-style: inside;margin-bottom: 15px; }
.ai-content-wapper ul li {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #262626;
	margin: 0;
	padding-bottom: 5px;
}

.ai-content-wapper ol { margin: 0; padding: 0; display:flex; flex-direction:column; gap: 8px; padding-bottom:16px;list-style: number;margin-left: 20px; }
.ai-content-wapper ol li {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #262626;
    margin: 0;
    padding-bottom: 0;
}

.ai-content-wapper p a { color: #F99A8A; }

body {
	font-family: Arial, sans-serif;
	background: #f3f4f6;
	padding: 0px 2rem;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji';
}

#chatForm { margin-bottom:30px; }
#chatForm .div-clear{
    display: block;
    clear: both;
}
textarea {
	padding: 0.75rem;
	font-size: 1rem;
	border-radius: 0.5rem;
	border: 1px solid #ccc;
	width: 95% !important;
	resize: vertical;
}
.chat-pair label{
	font-family: 'Inter';
	font-style: normal;
	font-weight: 700;
	font-size: 16px;
	line-height: 24px;
	color: #262626;
	margin: 0;
	padding-bottom: 10px;
	display: flex;
	background-color: unset !important;
}
.chat-pair {
	position: relative;
	margin-bottom: 2rem;
	background: unset !important;
	border: 0px solid #fff;
	width: 50%;
}
.chat-pair textarea {
	background: #F6F6F6;
	border-radius: 10px;
	width: 100%;
	box-shadow: none;
	outline: none;
	padding: 24px;
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 24px;
	color: #777777;
	border: none;
	resize: vertical;
}
.chat-pair.them {
	display: flex;
	justify-content: flex-start;
	flex-flow: column;
}
.chat-pair.me {
	display: flex;
	flex-flow: column;
	justify-content: flex-end;
	margin: 0 0 2rem auto;
}
.chat-pair.me textarea{
	background: #e0f7d5;
}
.remove-btn {
	position: absolute;
	top: 10px;
	right: -15px;
	background: #ef4444;
	color: white;
	border: none;
	padding: 2px 5px 3px 7px;
	cursor: pointer;
	border-radius: 5px;
}
.button {
	font-weight: bold;
	cursor: pointer;
}
.add-btn {
    border: 2px solid #C4FF7D !important;
    padding: 10px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #262626 !important;
    border-radius: 6px !important;
    font-family: 'Inter' !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 24px !important;
    background-color: #fff !important;
    margin: auto !important;
    cursor: pointer;
}
.submit-btn {
	padding: 18px 0 !important;
	width: 43% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #C4FF7D !important;
	border-radius: 6px !important;
	font-family: 'Inter' !important;
	font-style: normal !important;
	font-weight: 700 !important;
	font-size: 18px !important;
	line-height: 20px !important;
	color: #262626 !important;
	border: 0 !important;
	cursor: pointer;
	margin: 5% auto 0;
}

.response-box {
	background: #ecfdf5;
	border: 1px solid #d1fae5;
	padding: 1rem;
	border-radius: 8px;
	margin-top: 2rem;
}
.error {
	color: #b91c1c;
	background: #fee2e2;
	border: 1px solid #fecaca;
	padding: 1rem;
	margin-top: 2rem;
	border-radius: 8px;
}
.response-container {
	background: #fff;
	border: 1px solid #C9C1F6;
	padding: 15px 20px;
	margin: 30px auto;
	border-radius: 8px;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px;
}
.tag {
	display: inline-block;
	background-color: #d1e7dd;
	color: #0f5132;
	padding: 5px 10px;
	border-radius: 15px;
	font-size: 14px;
	margin-bottom: 10px;
	font-weight: 600;
}
.confidence {
	display: inline-block;
	background-color: #cfe2ff;
	color: #084298;
	font-weight: bold;
	padding: 7px 10px;
	border-radius: 15px;
	font-size: 14px;
	margin-left: 10px;
	font-weight: 600;
}
.message {
	font-size: 16px;
	color: #333;
	margin-bottom: 15px;
	padding: 20px;
	margin-top: 20px;
	border-radius: 5px;
	border-left: 4px solid #4caf50;
	background-color: #F6F6F6;
}
.why {
	padding: 10px 15px;
	font-size: 14px;
	color: #2f4f4f;
	border-radius: 5px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	border: 1px solid #4caf50;
}
.copy-btn {
	background-color: #f0f0f0;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	cursor: pointer;
	font-weight: bold;
	color: #000000a1;
	transition: background-color 0.3s ease;
	margin-top: 15px;
}

.response-container .response-type{
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    background-color: rgb(243, 232, 255);
    color: rgb(124, 58, 237);
    border: 1px solid rgb(233, 213, 255);
}

.response-container .response-type.playful{
    background-color: rgb(243, 232, 255);
    color: rgb(124, 58, 237);
    border: 1px solid rgb(233, 213, 255);
}

.response-container .response-type.confident{
    background-color: rgb(254, 215, 170);
    color: rgb(234, 88, 12);
    border: 1px solid rgb(253, 186, 116);
}

.response-container .response-type.sweet{
    background-color: rgb(252, 231, 243);
    color: rgb(219, 39, 119);
    border: 1px solid rgb(249, 168, 212);
}

.response-container .response-type.mean{
    background-color: rgb(243, 244, 246);
    color: rgb(55, 65, 81);
    border: 1px solid rgb(209, 213, 219);
}

#response-main-container p.err{
    color: red;
    text-align: center;
    margin: 10px auto;
    margin-top: 10px;
    font-size: 16px;
    border: 1px solid #171816;
    border-radius: 10px;
    padding: 10px;
    background: #fff;
    margin-top: 50px;
}

p.response-main-heading{
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.inf-cta-button {
	display: block;
	background: #A974FF;
	color: #fff;
	font-size: 1.2rem;
	font-weight: bold;
	padding: 13px 36px;
	border-radius: 32px;
	text-decoration: none;
	transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
	margin: 5% auto;
	width: max-content;
}
.inf-cta-button:hover {
	transform: translateY(-2px) scale(1.04);
}

.ai-images-title {
	max-width: 958px;
	margin: 0 auto;
}

.tools-short-content {
	margin-bottom: 40px;
	text-align: center;
	padding: 0px 20px;
	font-size: 16px;
}

@media (max-width: 991px){
    .ai-images-main-wapper {
		padding: 48px 50px;
	}
	
	.free-nsfw-images-section {
		padding: 50px 0;
	}
	.ai-images-title p.main-heading {
		font-size: 30px;
		line-height: 38px;
		padding-bottom: 30px;
	}
	.ai-images-main-wapper {
		padding: 20px;
		border-radius: 10px;
	}
	.ai-alert-wapper {
		margin-bottom: 30px;
		border-radius: 20px;
		padding: 20px;
		flex-direction: column;
		gap: 30px;
	}
	.ai-content-wapper h3 {
		font-size: 30px;
		line-height: 38px;
		padding-bottom: 20px;
	}
}

@media (max-width: 768px){
    .chat-pair label{
        font-size:14px;
        padding-bottom: 5px;
    }
	.chat-pair.them, .chat-pair.me { 
	    float:unset;
	    width: 95%;
	}
	.submit-btn{width:100% !important;}
	.inf-cta-button{font-size:14px;}
}
@media (max-width: 420px){
	.inf-cta-button{font-size:12px;padding: 10px;}
	.submit-btn{padding: 10px !important;}
	.add-btn{padding: 5px 10px !important;}
}

/* ---------------------
    DARK-LIGHT toggle
------------------------
*/

.align-items-center {
	-ms-flex-align: center !important;
	align-items: center !important;
}
.justify-content-between {
	-ms-flex-pack: justify !important;
	justify-content: space-between !important;
}
.d-flex {
	display: -ms-flexbox !important;
	display: flex !important;
}

/* ========== DARK MODE OVERRIDES ========== */
body.dark-mode {
	background-color: #121212;
	color: #e0e0e0;
}
body.dark-mode .tool-top-link-wapper {
	border-bottom: 2px solid #414141;
	background: #2C2C2C;
}
body.dark-mode .tool-top-link-wapper ul li a,
body.dark-mode .tool-top-link-wapper ul li span {
	color: #cccccc;
}
body.dark-mode .ai-content-wapper h1, body.dark-mode .ai-content-wapper h2, 
body.dark-mode .ai-content-wapper h3, body.dark-mode .ai-content-wapper h4, 
body.dark-mode .ai-content-wapper h5, body.dark-mode .ai-content-wapper h56  {
    color: #f0f0f0;
}
body.dark-mode .ai-content-wapper ul li { color: #fff; }
body.dark-mode .ai-images-main-wapper {
	background-color: #1a1a1a;
	box-shadow: none;
}
body.dark-mode .ai-alert-wapper {
	background-color: rgba(255, 255, 255, 0.05);
	border-color: #555;
}
body.dark-mode .ai-alert-text p {
	color: #cccccc;
}
body.dark-mode .ai-content-wapper p {
	color: #dddddd;
}
@media (max-width: 991px) {
	body.dark-mode .ai-images-main-wapper {
		background-color: #1a1a1a;
	}
	body.dark-mode .ai-alert-wapper {
		background-color: rgba(255, 255, 255, 0.05);
	}
}
@media(max-width:767px){
	.ai-images-main-wapper .container { padding:0; }
}

@media(max-width:420px){
	.top-tags{ 
		flex-direction: column;
		gap: 14px;
		align-items: flex-start;
	}
	.ai-images-main-wapper {
		padding: 10px;
	}
}

/* Dark Mode Toggle Styles */
.mode {
	width: 80px;
	transition: 0.5s;
}
.mode #modeSwitch {
	display: none;
}
.mode label {
	display: block;
	width: 80px;
	height: 40px;
	background-color: #000;
	border-radius: 50px;
	position: relative;
	transition: all 0.5s;
	box-shadow: 0 2px 6px 1px #626262;
	cursor: pointer;
	overflow: hidden;
	-moz-user-select: -moz-none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.mode #modeSwitch:checked + label {
	background-color: #000;
}
/* Initialize toggle in dark mode position */
.mode label .inner {
	height: 34px;
	width: 34px;
	background-color: #fff;
	border-radius: 100%;
	position: relative;
	overflow: hidden;
	left: 3px;
	top: 3px;
	transition: all 0.5s;
	transform: translateX(40px);
}
.mode label .inner::before {
	content: '';
	display: block;
	position: relative;
	height: 100%;
	width: 100%;
	border-radius: 100%;
	background-color: #9dcafc;
	right: 100%;
	top: -0%;
	transition: all 0.5s;
}
.mode #modeSwitch:checked + label > .inner {
	background-color: #fff;
}
.mode #modeSwitch:checked + label > .inner::before {
	right: 25%;
	background-color: #000;
	top: -20%;
}
/* Initialize stars in dark mode position */
.mode .stars {
	height: 1.5px;
	width: 1.5px;
	border-radius: 100%;
	background-color: #fff;
	position: absolute;
	left: 30px;
	top: 15px;
	transition: all 0.5s;
}
.mode .stars::before {
	content: '';
	display: block;
	height: 1.5px;
	width: 1.5px;
	border-radius: 100%;
	background-color: #fff;
	position: absolute;
	left: -12px;
	top: 10px;
	transition: all 0.5s;
}
.mode .stars::after {
	content: '';
	display: block;
	height: 1.5px;
	width: 1.5px;
	border-radius: 100%;
	background-color: #fff;
	position: absolute;
	left: -8px;
	top: -5px;
	transition: all 0.5s;
}
/* Initialize clouds in dark mode position */
.mode .clouds {
	height: 10px;
	width: 10px;
	border-radius: 100%;
	background-color: #fff;
	position: absolute;
	right: -50%;
	top: 12px;
	transition: all 0.5s;
}
.mode .clouds::before {
	content: '';
	display: block;
	height: 10px;
	width: 10px;
	border-radius: 100%;
	background-color: #fff;
	position: absolute;
	left: -5px;
	top: 6px;
	transition: all 0.5s;
}
.mode .clouds::after {
	content: '';
	display: block;
	height: 10px;
	width: 10px;
	border-radius: 100%;
	background-color: #fff;
	position: absolute;
	left: 3px;
	top: 4px;
	transition: all 0.5s;
}
body.dark-mode .mode label {
	background-color: #333;
}

/* new css */
body.dark-mode .chat-pair label { color:#fff; }
body.dark-mode .response-container {
	background-color: rgba(255, 255, 255, 0.05);
	border-color: #555;
}
body.dark-mode .message {
	background-color: #2c2c2c;
	color: #fff;
}
body.dark-mode .why { color:#fff; }
body.dark-mode .chat-pair.them textarea { background-color: #2c2c2c; color: #dddddd; }
body.dark-mode .ai-images-title p.main-heading{color:#fff;}

body.dark-mode .ai-content-wapper p a { color: #C4FF7D; }
body.dark-mode .ai-content-wapper ol li { color: #fff; }