.elementor-18317 .elementor-element.elementor-element-ad50011{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}.elementor-18317 .elementor-element.elementor-element-35393da{--display:flex;border-style:solid;--border-style:solid;border-width:1px 1px 1px 1px;--border-top-width:1px;--border-right-width:1px;--border-bottom-width:1px;--border-left-width:1px;border-color:#EDEDED;--border-color:#EDEDED;--border-radius:12px 12px 12px 12px;--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}.elementor-18317 .elementor-element.elementor-element-35393da:not(.elementor-motion-effects-element-type-background), .elementor-18317 .elementor-element.elementor-element-35393da > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-18317 .elementor-element.elementor-element-a76e0c7{font-family:"iransans | ایران‌سنس", Sans-serif;font-size:15px;line-height:30px;}.elementor-18317 .elementor-element.elementor-element-bc58288{margin:50px 0px calc(var(--kit-widget-spacing, 0px) + -20px) 0px;text-align:center;}.elementor-18317 .elementor-element.elementor-element-bc58288 .elementor-heading-title{font-family:"iransans | ایران‌سنس", Sans-serif;font-weight:600;color:var( --e-global-color-primary );}:root{--page-title-display:none;}@media(max-width:767px){.elementor-18317 .elementor-element.elementor-element-ad50011{--padding-top:10px;--padding-bottom:10px;--padding-left:10px;--padding-right:10px;}.elementor-18317 .elementor-element.elementor-element-bc58288 .elementor-heading-title{font-size:25px;}}/* Start custom CSS for text-editor, class: .elementor-element-a76e0c7 */.elementor-18317 .elementor-element.elementor-element-a76e0c7 h2 {
    font-family: 'iransans | ایران‌سنس' !important;
    font-size: 28px !important;
    font-weight: 700;
}
.elementor-18317 .elementor-element.elementor-element-a76e0c7 h3 {
    font-family: 'iransans | ایران‌سنس' !important;
    font-size: 25px !important;
    font-weight: 600;
}/* End custom CSS */
/* Start custom CSS */.sazo-raz-container {
    max-width: 750px;
    margin: 30px auto;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #ffffff;
    direction: rtl; 
    font-size: 18px; 
    font-family: 'IRANSans', sans-serif; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.sazo-raz-container, .control-group label {
    color: #3b3b3b;
    font-weight: normal; 
}

.result-area {
display: flex;
align-items: center;
flex-direction: row-reverse;
border: 2px solid #0051BA;
border-radius: 12px;
overflow: hidden;
width: 100%;
}

#passwordOutput {
    flex-grow: 1;
    font-family: 'iransans | ایران‌سنس';
    padding: 12px;
    font-size: 1em;
    border: none;
    background-color: #f7f9fc;
    direction: ltr;
    text-align: left;
    overflow-x: auto;
    white-space: nowrap;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

#passwordOutput:focus {
    outline: none !important;
}


#copyButton {
    background-color: #0051BA;
    font-family: 'iransans | ایران‌سنس';
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    font-size: 1em;
    flex-shrink: 0;
    outline: none; 
    border-radius: 0;
}

#copyButton:hover {
    background-color: #004096;
}
#copyButton:focus {
    outline: none !important;
}
#toggleVisibility:focus {
    outline: none !important;
}
.generate-btn:focus {
    outline: none !important;
}


.strength-meter {
    margin: 20px 0;
}

.strength-bar {
    height: 10px;
    background-color: #ddd;
    border-radius: 5px;
    width: 0%;
    transition: width 0.5s ease-in-out, background-color 0.5s;
}

#strengthText {
    margin-top: 5px;
    font-family: 'iransans | ایران‌سنس';
    font-size: 0.9em;
    font-weight: normal;
    text-align: right;
}

/* ----------------- بخش کنترل‌ها ----------------- */
.control-group {
    margin-bottom: 20px;
}

.length-control {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'iransans | ایران‌سنس';
}

.length-control label {
    font-weight: normal;
    white-space: nowrap;
}

#passwordLength {
    width: 70px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 12px;
    text-align: center;
}

.checkbox-group {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    font-family: 'iransans | ایران‌سنس';
    margin-bottom: 20px;
}

.checkbox-group label {
    display: inline-flex; 
    align-items: center;
    margin: 0 !important; 
    flex-shrink: 0;
    gap: 8px;
    font-weight: normal !important;
    cursor: pointer;
    padding: 8px 4px;
    min-height: 44px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.generate-btn {
    width: 100%;
    padding: 14px;
    background-color: #1e7e34;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'iransans | ایران‌سنس';
    font-size: 1em; 
    font-weight: normal;
    transition: background-color 0.3s;
}

.generate-btn:hover {
    background-color: #145523;
}

.message-box {
    text-align: center;
    margin-top: 15px;
    padding: 15px 10px;
    border-radius: 12px;
    min-height: 45px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
    font-family: 'iransans | ایران‌سنس';
    font-size: 0.9em;
    line-height: 1.5;
}

.message-box.show {
    visibility: visible;
    opacity: 1;
}


@media (max-width: 500px) {

    .sazo-raz-container {
        padding: 20px 15px;
        margin: 15px auto;
        font-size: 15px;
    }

    .result-area {
    flex-direction: row-reverse;
    flex-wrap: wrap;
}

    #copyButton {
        width: 100%;
        order: -1;
        border-radius: 6px 6px 0 0;
        padding: 10px;
        font-size: 0.9em;
    }

    #passwordOutput {
    flex: 1;
}

    .side-btn {
        width: 45px;
        font-size: 1em;
    }

    .checkbox-group {
        flex-wrap: wrap;
        gap: 8px 0;
    }

    .checkbox-group label {
        width: 48%;
    }
}

.entropy-info {
    background: #f1f6ff;
    border: 1px solid #d6e4ff;
    padding: 10px 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.8em;
font-family: 'iransans | ایران‌سنس';
}

.entropy-info p {
    margin: 5px 0;
    font-weight: 500;
}

#toggleVisibility {
    background-color: #f7f9fc;
    border: none;
    border-right: 1px solid #d6e4ff;
    padding: 12px;
    cursor: pointer;
    display: flex;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
}

#toggleVisibility svg {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
    color: #0051BA;
    transition: opacity 0.2s ease;
    vertical-align: middle;
}
#toggleVisibility svg path {
    vector-effect: non-scaling-stroke;
}

.toggle-btn-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#toggleVisibility:hover svg {
    opacity: 0.8;
}

.side-btn:hover {
    background-color: #004096;
}

.left-btn {
    border-right: 1px solid rgba(255,255,255,0.2);
}

.right-btn {
    border-left: 1px solid rgba(255,255,255,0.2);
}

.fade-out {
    opacity: 0;
    transform: translateY(-5px);
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'iransans | ایران‌سنس';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff2') format('woff2'),
		url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff') format('woff');
}
@font-face {
	font-family: 'iransans | ایران‌سنس';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff2') format('woff2'),
		url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff') format('woff');
}
@font-face {
	font-family: 'iransans | ایران‌سنس';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff2') format('woff2'),
		url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff') format('woff');
}
@font-face {
	font-family: 'iransans | ایران‌سنس';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff2') format('woff2'),
		url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff') format('woff');
}
@font-face {
	font-family: 'iransans | ایران‌سنس';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff2') format('woff2'),
		url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff') format('woff');
}
@font-face {
	font-family: 'iransans | ایران‌سنس';
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff2') format('woff2'),
		url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff') format('woff');
}
/* End Custom Fonts CSS */