/* Salut Password Reset Form Styles - UdanyZwiazek.pl Design */

.salut-password-reset-wrapper {
    max-width: 100%;
}

.salut-password-reset-wrapper .salut-password-reset-form {
    width: 100%;
}

.salut-password-reset-wrapper .salut-password-reset-form.salut-form-disabled {
    opacity: 0.6;
    pointer-events: none;
}

/* Form Groups */
.salut-password-reset-wrapper .salut-form-group {
    margin-bottom: 20px;
}

.salut-password-reset-wrapper .salut-form-group:last-child {
    margin-bottom: 0;
}

/* Labels */
.salut-password-reset-wrapper .salut-form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
}

/* Input Wrapper (for toggle button) */
.salut-password-reset-wrapper .salut-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Inputs */
.salut-password-reset-wrapper .salut-form-input {
    width: 100%;
    padding: 14px 48px 14px 18px !important;
    border: 1px solid rgba(40, 47, 71, 0.08) !important;
    border-radius: 10px !important;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #282F47;
    background: #ffffff !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    box-shadow: none !important;
    outline: none !important;
}

.salut-password-reset-wrapper .salut-form-input::placeholder {
    color: #9098a9;
}

.salut-password-reset-wrapper .salut-form-input:hover {
    border-color: rgba(40, 47, 71, 0.12) !important;
}

.salut-password-reset-wrapper .salut-form-input:focus {
    outline: none !important;
    border-color: #282F47 !important;
    box-shadow: 0 0 0 3px rgba(40, 47, 71, 0.08) !important;
}

.salut-password-reset-wrapper .salut-form-input:disabled {
    background-color: #f8f9fb !important;
    color: #9098a9;
    cursor: not-allowed;
}

/* Toggle Password Button */
.salut-password-reset-wrapper .salut-toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    z-index: 10;
}

.salut-password-reset-wrapper .salut-toggle-password:hover,
.salut-password-reset-wrapper .salut-toggle-password:focus,
.salut-password-reset-wrapper .salut-toggle-password:active {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.salut-password-reset-wrapper .salut-toggle-password:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.salut-password-reset-wrapper .salut-eye-icon {
    width: 20px;
    height: 20px;
    display: block;
    background-color: #9098a9;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.salut-password-reset-wrapper .salut-toggle-password:hover .salut-eye-icon {
    background-color: #282F47;
}

.salut-password-reset-wrapper .salut-toggle-password.salut-password-visible .salut-eye-icon {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'%3E%3C/path%3E%3Cline x1='1' y1='1' x2='23' y2='23'%3E%3C/line%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'%3E%3C/path%3E%3Cline x1='1' y1='1' x2='23' y2='23'%3E%3C/line%3E%3C/svg%3E");
}

/* Password Strength Meter */
.salut-password-reset-wrapper .salut-password-strength {
    margin-top: 12px;
}

.salut-password-reset-wrapper .salut-strength-meter {
    height: 4px;
    background: linear-gradient(135deg, #f8f9fb 0%, #f4f5f7 100%) !important;
    border-radius: 2px !important;
    overflow: hidden;
    margin-bottom: 8px;
}

.salut-password-reset-wrapper .salut-strength-bar {
    height: 100%;
    width: 0;
    transition: width 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
    border-radius: 2px;
}

.salut-password-reset-wrapper .salut-strength-text {
    font-size: 12px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #6b7280;
}

/* Password Requirements List */
.salut-password-reset-wrapper .salut-password-requirements {
    list-style: none;
    margin: 14px 0 0 0;
    padding: 16px;
    font-size: 13px;
    background: linear-gradient(135deg, #f8f9fb 0%, #f4f5f7 100%) !important;
    border-radius: 10px !important;
    border: 1px solid rgba(40, 47, 71, 0.06) !important;
}

.salut-password-reset-wrapper .salut-password-requirements li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #6b7280;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.salut-password-reset-wrapper .salut-password-requirements li:last-child {
    margin-bottom: 0;
}

.salut-password-reset-wrapper .salut-password-requirements li.salut-req-met {
    color: #166534;
}

.salut-password-reset-wrapper .salut-req-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.salut-password-reset-wrapper .salut-req-icon::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(40, 47, 71, 0.15);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.salut-password-reset-wrapper .salut-req-met .salut-req-icon::before {
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    border-radius: 0;
    box-shadow: none;
}

/* Password Match Indicator */
.salut-password-reset-wrapper .salut-password-match {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.salut-password-reset-wrapper .salut-password-match.salut-match-success {
    color: #166534;
}

.salut-password-reset-wrapper .salut-password-match.salut-match-error {
    color: #991b1b;
}

.salut-password-reset-wrapper .salut-match-icon {
    width: 18px;
    height: 18px;
}

.salut-password-reset-wrapper .salut-match-success .salut-match-icon::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #282F47 0%, #3a4460 100%);
    border-radius: 50%;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    -webkit-mask-size: 12px;
    mask-size: 12px;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    box-shadow: 0 2px 6px rgba(40, 47, 71, 0.2);
}

.salut-password-reset-wrapper .salut-match-error .salut-match-icon::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background-color: #991b1b;
    border-radius: 50%;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
    -webkit-mask-size: 10px;
    mask-size: 10px;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* Submit Button */
.salut-password-reset-wrapper .salut-form-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px !important;
    background: linear-gradient(135deg, #282F47 0%, #3a4460 100%) !important;
    background-color: #282F47 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 14px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(40, 47, 71, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.salut-password-reset-wrapper .salut-form-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 47, 71, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    background: linear-gradient(135deg, #1e2538 0%, #282F47 100%) !important;
}

.salut-password-reset-wrapper .salut-form-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(40, 47, 71, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.salut-password-reset-wrapper .salut-form-button:disabled {
    background: linear-gradient(135deg, #d1d5db 0%, #c4c9d4 100%) !important;
    box-shadow: none !important;
    cursor: not-allowed;
    transform: none;
}

/* Messages */
.salut-password-reset-wrapper .salut-message {
    padding: 14px 18px;
    border-radius: 10px !important;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.salut-password-reset-wrapper .salut-message-error {
    background-color: #fef2f2 !important;
    color: #991b1b !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
}

.salut-password-reset-wrapper .salut-message-success {
    background-color: #f0fdf4 !important;
    color: #166534 !important;
    border: 1px solid rgba(34, 197, 94, 0.2) !important;
}

/* Responsive */
@media (max-width: 480px) {
    .salut-password-reset-wrapper .salut-form-input {
        padding: 12px 44px 12px 14px !important;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .salut-password-reset-wrapper .salut-form-button {
        padding: 14px 20px !important;
    }

    .salut-password-reset-wrapper .salut-password-requirements {
        font-size: 12px;
        padding: 14px;
    }
}

/* Elementor Editor Preview Styles */
.elementor-editor-active .salut-password-reset-form {
    pointer-events: none;
}

.elementor-editor-active .salut-password-reset-wrapper .salut-strength-bar {
    width: 50%;
    background: linear-gradient(135deg, #282F47 0%, #3a4460 100%) !important;
}
