/* فایل استایل افزونه - تم سبز سازمانی */
.clrp-auth-wrapper {
    max-width: 500px;
    margin: 50px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.15);
    overflow: hidden;
    font-family: inherit;
    direction: rtl;
    border: 1px solid #e5e7eb;
}

.clrp-tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 2px solid #e5e7eb;
}

.clrp-tab-btn {
    flex: 1;
    padding: 24px 0 !important;
    border: none !important;
    background: transparent !important;
    font-size: 17px !important;
    font-weight: 700;
    color: #64748b !important;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: none !important;
}

.clrp-tab-btn:hover {
    color: #10b981 !important;
    background: transparent !important;
}

.clrp-tab-btn.active {
    color: #10b981 !important;
    background: #ffffff !important;
    border-bottom: 3px solid #10b981 !important;
}

.clrp-form-container {
    padding: 35px 40px;
}

.clrp-form-box {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.clrp-form-box.active {
    display: block;
}

/* تغییر کلیدی برای چسباندن لیبل به فیلد */
.clrp-input-group {
    margin-bottom: 22px;
    text-align: right;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important; /* فاصله بین لیبل و اینپوت به حداقل رسید */
}

.clrp-input-group label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

.clrp-input-group input[type="text"],
.clrp-input-group input[type="email"],
.clrp-input-group input[type="password"],
.clrp-input-group input[type="number"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8fafc;
    box-sizing: border-box;
    direction: ltr;
    box-shadow: none !important;
    margin-top: 15px;
}

.clrp-input-group input:focus {
    border-color: #10b981 !important;
    background: #ffffff;
    box-shadow: none !important;
    outline: none;
}

.clrp-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.clrp-toggle-pass {
    position: absolute;
    right: 15px;
    cursor: pointer;
    font-size: 18px;
    user-select: none;
    transition: opacity 0.2s;
    z-index: 2;
    bottom: 7px;
}


.clrp-password-wrapper input {
    padding-right: 45px !important;
    padding-left: 16px !important;
}

.clrp-checkbox-group {
    margin-bottom: 25px;
    text-align: right;
}

.clrp-checkbox-group label {
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    cursor: pointer;
    width: fit-content;
    font-size: 14px;
    color: #475569;
    font-weight: 500;
}

.clrp-checkbox-group input {
    margin: 0 !important;
    padding: 0 !important;
    accent-color: #10b981;
    width: 18px;
    height: 18px;
    cursor: pointer;
    position: relative;
    top: -1px;
}

.clrp-submit-btn {
    width: 100% !important;
    padding: 16px !important;
    background-color: #10b981 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-top: 10px;
    display: block;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
}

.clrp-submit-btn:hover {
    background-color: #059669 !important;
    transform: translateY(-3px) scale(1.01) !important;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5) !important;
}

.clrp-submit-btn:active {
    transform: translateY(0) scale(1) !important;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3) !important;
}

.clrp-terms-text {
    margin-top: 25px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
    line-height: 1.8;
}

.clrp-terms-text a {
    color: #10b981 !important;
    text-decoration: none !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

.clrp-terms-text a:hover {
    color: #10b981 !important;
}

#clrp-message {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

#clrp-message.success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

#clrp-message.error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.1);
}

.clrp-logged-in {
    text-align: center;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.clrp-logged-in a {
    color: #ef4444;
    font-weight: bold;
    text-decoration: none;
}

.clrp-forgot-link-wrapper {
    text-align: right;
    margin-bottom: 20px;
}

.clrp-forgot-link-wrapper a, .clrp-back-link a {
    font-size: 13px;
    color: #64748b;
    text-decoration: none !important;
    transition: color 0.3s;
}

.clrp-forgot-link-wrapper a:hover, .clrp-back-link a:hover {
    color: #10b981 !important;
}

.clrp-back-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}


.clrp-input-group p {
    display: none;
}

#clrp-new-password-form br {
    display: none;
}






